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

Commit feb69bf5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 948e9ff4 365835ff
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();
        }
    }