Fixed wonky wakelock settings

This commit is contained in:
Doug Keen 2012-09-17 08:51:16 -07:00
parent 2ba109d5a1
commit 0ec87c77e3

View File

@ -16,8 +16,7 @@ public abstract class WakeLocker {
.getSystemService(Context.POWER_SERVICE); .getSystemService(Context.POWER_SERVICE);
wakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK wakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK
| PowerManager.ACQUIRE_CAUSES_WAKEUP | PowerManager.ACQUIRE_CAUSES_WAKEUP
| PowerManager.ON_AFTER_RELEASE | PowerManager.ON_AFTER_RELEASE, Constants.TAG);
| PowerManager.SCREEN_DIM_WAKE_LOCK, Constants.TAG);
wakeLock.acquire(); wakeLock.acquire();
} }