Doze: Fix broken non-AoD

Fixes a bug where non-AoD doze mode
was broken.

Test: adb shell settings put secure doze_always_on 0 && echo "Test that double-tap / pickup gestures work"
Change-Id: If2720eea5081fb9f88bfe0346ec829b241532b29
This commit is contained in:
Adrian Roos
2016-11-03 12:11:11 -07:00
parent 573cccfea7
commit 803f33a109

View File

@@ -105,9 +105,7 @@ public class DozeScrimController {
// be invoked when we're done so that the caller can drop the pulse wakelock.
mPulseCallback = callback;
mPulseReason = reason;
if (mDozeParameters.getAlwaysOn()) {
mHandler.post(mPulseIn);
}
mHandler.post(mPulseIn);
}
/**