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

Commit 5eb2a4d9 authored by Austin Delgado's avatar Austin Delgado
Browse files

Fix BP content description when face is not recognized

Test: Manual, verify correct string is announced by talkback
Fixes: 293547981
Change-Id: I0c46ef24c09bb2972c05c503891eeb6fcb90357b
parent 7cc801a8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -100,6 +100,9 @@ class AuthBiometricFaceIconController(
            )
        } else if (newState == STATE_ERROR && oldState != STATE_ERROR) {
            animateIconOnce(R.drawable.face_dialog_dark_to_error)
            iconView.contentDescription = context.getString(
                    R.string.keyguard_face_failed
            )
        } else if (oldState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) {
            animateIconOnce(R.drawable.face_dialog_dark_to_checkmark)
            iconView.contentDescription = context.getString(