Merge "Update DisabledUdpfsController logic" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-19 17:36:42 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}