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

Commit f144f6ec authored by Adrian Roos's avatar Adrian Roos Committed by Android (Google) Code Review
Browse files

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

parents 34036731 b9afae2e
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();
        }
    }