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

Commit 75d99fb3 authored by Austin Delgado's avatar Austin Delgado
Browse files

Fix coex implicit Bp transitioning to explicit after auth

Test: atest SystemUITests:com.android.systemui.biometric
Bug: 350831649
Flag: EXEMPT bugfix
Change-Id: Ia513275568a44f129bfd0c380f054de092575f6a
parent 5f08fdcb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ constructor(
        messageJob?.cancel()
        messageJob = null

        if (helpMessage.isNotBlank()) {
        if (helpMessage.isNotBlank() && needsUserConfirmation) {
            showHelp(helpMessage)
        }
    }
+4 −1
Original line number Diff line number Diff line
@@ -503,11 +503,13 @@ internal class PromptViewModelTest(private val testCase: TestCase) : SysuiTestCa
                    collectLastValue(kosmos.promptViewModel.iconViewModel.contentDescriptionId)
                val shouldAnimateIconView by
                    collectLastValue(kosmos.promptViewModel.iconViewModel.shouldAnimateIconView)
                val message by collectLastValue(kosmos.promptViewModel.message)
                verifyIconSize()

                kosmos.promptViewModel.showAuthenticated(
                    modality = testCase.authenticatedModality,
                    dismissAfterDelay = DELAY
                    dismissAfterDelay = DELAY,
                    "TEST"
                )

                if (testCase.isFingerprintOnly) {
@@ -531,6 +533,7 @@ internal class PromptViewModelTest(private val testCase: TestCase) : SysuiTestCa
                    assertThat(iconContentDescriptionId)
                        .isEqualTo(R.string.biometric_dialog_face_icon_description_authenticated)
                    assertThat(shouldAnimateIconView).isEqualTo(true)
                    assertThat(message).isEqualTo(PromptMessage.Empty)
                }
            }
        }