Loading packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java +6 −1 Original line number Diff line number Diff line Loading @@ -2773,9 +2773,14 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab && !strongerAuthRequired && userDoesNotHaveTrust); final boolean shouldListenFpsState = !isUdfps && (mFingerprintInteractiveToAuthProvider == null || !mFingerprintInteractiveToAuthProvider.isEnabled(user) || (isDeviceInteractive() && !mGoingToSleep)); boolean shouldListen = shouldListenKeyguardState && shouldListenUserState && shouldListenBouncerState && shouldListenUdfpsState && !mBiometricPromptShowing; && shouldListenBouncerState && shouldListenUdfpsState && !mBiometricPromptShowing && shouldListenFpsState; logListenerModelData( new KeyguardFingerprintListenModel( System.currentTimeMillis(), Loading packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProvider.kt +6 −0 Original line number Diff line number Diff line Loading @@ -36,4 +36,10 @@ interface FingerprintInteractiveToAuthProvider { * @return Vendor extension if needed for authentication. */ fun getVendorExtension(userId: Int): AuthenticateReason.Vendor? /** * @param userId the user Id. * @return true if the InteractiveToAuthFeature is enabled, false if disabled. */ fun isEnabled(userId: Int): Boolean } packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProviderImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ class FingerprintInteractiveToAuthProviderImpl @Inject constructor( override fun getVendorExtension(userId: Int): AuthenticateReason.Vendor? = null private fun isEnabled(userId: Int): Boolean { override fun isEnabled(userId: Int): Boolean { var value = Settings.Secure.getIntForUser( context.contentResolver, Settings.Secure.SFPS_PERFORMANT_AUTH_ENABLED, Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java +6 −1 Original line number Diff line number Diff line Loading @@ -2773,9 +2773,14 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab && !strongerAuthRequired && userDoesNotHaveTrust); final boolean shouldListenFpsState = !isUdfps && (mFingerprintInteractiveToAuthProvider == null || !mFingerprintInteractiveToAuthProvider.isEnabled(user) || (isDeviceInteractive() && !mGoingToSleep)); boolean shouldListen = shouldListenKeyguardState && shouldListenUserState && shouldListenBouncerState && shouldListenUdfpsState && !mBiometricPromptShowing; && shouldListenBouncerState && shouldListenUdfpsState && !mBiometricPromptShowing && shouldListenFpsState; logListenerModelData( new KeyguardFingerprintListenModel( System.currentTimeMillis(), Loading
packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProvider.kt +6 −0 Original line number Diff line number Diff line Loading @@ -36,4 +36,10 @@ interface FingerprintInteractiveToAuthProvider { * @return Vendor extension if needed for authentication. */ fun getVendorExtension(userId: Int): AuthenticateReason.Vendor? /** * @param userId the user Id. * @return true if the InteractiveToAuthFeature is enabled, false if disabled. */ fun isEnabled(userId: Int): Boolean }
packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProviderImpl.kt +1 −1 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ class FingerprintInteractiveToAuthProviderImpl @Inject constructor( override fun getVendorExtension(userId: Int): AuthenticateReason.Vendor? = null private fun isEnabled(userId: Int): Boolean { override fun isEnabled(userId: Int): Boolean { var value = Settings.Secure.getIntForUser( context.contentResolver, Settings.Secure.SFPS_PERFORMANT_AUTH_ENABLED, Loading