WakeAndUnlock: Make sure blanking is never animated
Fixes an issue where instead of immediately blanking the screen upon authenticating via fingerprint we animated to blank because another animating transition was requested at the same time. Change-Id: I141079c0d4de1776c8328057d364eeb0964eebaf Fixes: 64080116 Test: Unlock via fingerprint a lot. Verify no flicker.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user