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

Unverified Commit 8ba6015e authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! SystemUI: Restore 14 QPR1 FingerprintInteractiveToAuth handling

Fix logic to fix udfps

Change-Id: I1080be34183ab20ab1d7a311caedba067da515b0
parent 6552d533
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2773,10 +2773,10 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
                && !strongerAuthRequired
                && userDoesNotHaveTrust);

        final boolean shouldListenFpsState = !isUdfps
                && (mFingerprintInteractiveToAuthProvider == null
        final boolean shouldListenFpsState = isUdfps
                || mFingerprintInteractiveToAuthProvider == null
                || !mFingerprintInteractiveToAuthProvider.isEnabled(user)
                        || (isDeviceInteractive() && !mGoingToSleep));
                || (isDeviceInteractive() && !mGoingToSleep);

        boolean shouldListen = shouldListenKeyguardState && shouldListenUserState
                && shouldListenBouncerState && shouldListenUdfpsState && !mBiometricPromptShowing