Update udfps icon alpha after bouncer vis changes

Also make sure mInputBouncerHiddenAmount is set correctly when the
bouncer isn't being dragged.

Test: manual
Fixes: 190415776
Change-Id: I4fce36fc17baf7218c6a7aff2f45b8790b971aca
This commit is contained in:
Beverly
2021-06-10 20:06:14 -04:00
committed by Beverly Tai
parent 2c07791672
commit b8796f2d71

View File

@@ -358,7 +358,10 @@ public class UdfpsKeyguardViewController extends UdfpsAnimationViewController<Ud
mIsBouncerVisible = mKeyguardViewManager.bouncerIsOrWillBeShowing();
if (!mIsBouncerVisible) {
mInputBouncerHiddenAmount = 1f;
} else if (mKeyguardViewManager.isBouncerShowing()) {
mInputBouncerHiddenAmount = 0f;
}
updateAlpha();
updatePauseAuth();
}