Merge "Update DisabledUdpfsController logic" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
15f8f2c5a0
@@ -154,7 +154,9 @@ public class DisabledUdfpsController extends ViewController<DisabledUdfpsView> i
|
||||
@Override
|
||||
public void onBiometricRunningStateChanged(boolean running,
|
||||
BiometricSourceType biometricSourceType) {
|
||||
mRunningFPS = running && biometricSourceType == FINGERPRINT;
|
||||
if (biometricSourceType == FINGERPRINT) {
|
||||
mRunningFPS = running;
|
||||
}
|
||||
mAuthenticated &= !mRunningFPS;
|
||||
updateButtonVisibility();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user