Merge "ScrimController: Wait with clearing wakup animation until done" into oc-dr1-dev

This commit is contained in:
TreeHugger Robot
2017-08-08 10:48:47 +00:00
committed by Android (Google) Code Review

View File

@@ -543,7 +543,7 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
mKeyguardFadingOutInProgress = false;
mAnimatingDozeUnlock = false;
}
if (mWakingUpFromAodAnimationRunning) {
if (mWakingUpFromAodAnimationRunning && !mDeferFinishedListener) {
mWakingUpFromAodAnimationRunning = false;
mWakingUpFromAodInProgress = false;
}