Merge "WakeAndUnlock: Make sure blanking is never animated" into oc-dr1-dev
am: cbab3edc3e
Change-Id: I49d8dc5f8cdd470064c9450e6722a905a4d1b0ed
This commit is contained in:
@@ -379,7 +379,8 @@ public class ScrimController implements ViewTreeObserver.OnPreDrawListener,
|
|||||||
setScrimBehindAlpha(0f);
|
setScrimBehindAlpha(0f);
|
||||||
} else if (mWakeAndUnlocking) {
|
} else if (mWakeAndUnlocking) {
|
||||||
// During wake and unlock, we first hide everything behind a black scrim, which then
|
// 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) {
|
if (mDozing) {
|
||||||
setScrimInFrontAlpha(0f);
|
setScrimInFrontAlpha(0f);
|
||||||
setScrimBehindAlpha(1f);
|
setScrimBehindAlpha(1f);
|
||||||
|
|||||||
Reference in New Issue
Block a user