Don't show requested UDFPS when kg isn't showing
An activity can continue to request udfps even though it's not necessary anymore. Make sure we don't show the affordance in this case. Test: manually fail udfps 2+ on gpay wallet activity and then use the bouncer to authenticate Fixes: 215558148 Change-Id: Ic316a57184b54d272e93e5a9efe1f6331b132787
This commit is contained in:
@@ -224,7 +224,8 @@ public class UdfpsKeyguardViewController extends UdfpsAnimationViewController<Ud
|
||||
|
||||
if (mUdfpsRequested && !getNotificationShadeVisible()
|
||||
&& (!mIsBouncerVisible
|
||||
|| mInputBouncerHiddenAmount != KeyguardBouncer.EXPANSION_VISIBLE)) {
|
||||
|| mInputBouncerHiddenAmount != KeyguardBouncer.EXPANSION_VISIBLE)
|
||||
&& mKeyguardStateController.isShowing()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user