Merge "AOD: Only play wakeup animation when actually waking up" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
feb69bf5a7
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user