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

Commit 38250275 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-dr1-dev

am: feb69bf5

Change-Id: I14d244bc7cc413ff204d37dee6d621af9e0e8e29
parents 1d8a6e4e feb69bf5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5236,8 +5236,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();
        }
    }