Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99782372 authored by Beverly's avatar Beverly Committed by Beverly Tai
Browse files

Update DisabledUdpfsController logic

Test: manual
Fixes: 183124321
Change-Id: Ic280f8126ea67a21e1427992da3ed67a251a388a
parent cc2883bb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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();
                }