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