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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user