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

Commit 45ecddf5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not suppress pending confirmation message" into main

parents fbbfc73a 183e2aea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -295,10 +295,10 @@ constructor(
    suspend fun showAuthenticated(modality: BiometricModality) = coroutineScope {
        _isAuthenticating.value = false
        val needsUserConfirmation = needsExplicitConfirmation(modality)
        secureLockDeviceInteractor.suppressBouncerMessages()
        _isAuthenticated.value = PromptAuthState(true, modality, needsUserConfirmation)

        if (!needsUserConfirmation) {
            secureLockDeviceInteractor.suppressBouncerMessages()
            bouncerHapticPlayer.playAuthenticationFeedback(/* authenticationSucceeded= */ true)
        }