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

Commit 59c191b8 authored by Austin Delgado's avatar Austin Delgado
Browse files

Fix Biometric Prompt credential transition delay on face fail

Test: atest com.android.systemui.biometrics
Flag: com.android.systemui.constraint_bp
Bug: 352461874
Change-Id: I48f13a3e93774911e5cebbcdca398c064f71d974
parent 40e2250f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -669,10 +669,15 @@ class Spaghetti(
        }

    fun startTransitionToCredentialUI(isError: Boolean) {
        if (!constraintBp()) {
            applicationScope.launch {
                viewModel.onSwitchToCredential()
                legacyCallback?.onUseDeviceCredential()
            }
        } else {
            viewModel.onSwitchToCredential()
            legacyCallback?.onUseDeviceCredential()
        }
    }

    fun cancelAnimation() {