Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 803f33a1 authored by Adrian Roos's avatar Adrian Roos
Browse files

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
parent 573cccfe
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -105,10 +105,8 @@ 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);
    }
    }

    /**
     * Aborts pulsing immediately.