Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev

am: cbab3edc3e

Change-Id: Ibd62f5942fd09e0c1ec846db0595c76d0ad822be
This commit is contained in:
Adrian Roos
2017-07-31 16:48:34 +00:00
committed by android-build-merger

View File

@@ -379,7 +379,8 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
setScrimBehindAlpha(0f);
} else if (mWakeAndUnlocking) {
// During wake and unlock, we first hide everything behind a black scrim, which then
// gets faded out from animateKeyguardFadingOut.
// gets faded out from animateKeyguardFadingOut. This must never be animated.
mAnimateChange = false;
if (mDozing) {
setScrimInFrontAlpha(0f);
setScrimBehindAlpha(1f);