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

Commit a72c8a7f authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "AOD: Only play wakeup animation when actually waking up" into oc-mr1-dev

am: f144f6ec

Change-Id: Ifedac6d1b9de029769333529c972ffb26e429a0b
parents e74f52d2 f144f6ec
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5261,8 +5261,7 @@ public class StatusBar extends SystemUI implements DemoMode,

    private void maybePrepareWakeUpFromAod() {
        int wakefulness = mWakefulnessLifecycle.getWakefulness();
        if (mDozing && (wakefulness == WAKEFULNESS_WAKING
                || wakefulness == WAKEFULNESS_ASLEEP) && !isPulsing()) {
        if (mDozing && wakefulness == WAKEFULNESS_WAKING && !isPulsing()) {
            mScrimController.prepareWakeUpFromAod();
        }
    }