commit | 5eb2a4d9be09951afc5b90eb37caf513c24a2b67 | [log] [tgz] |
---|---|---|
author | Austin Delgado <austindelgado@google.com> | Tue Aug 01 10:35:10 2023 -0700 |
committer | Austin Delgado <austindelgado@google.com> | Tue Aug 01 10:35:10 2023 -0700 |
tree | b9f15b8e8d8d844de313e1e176d3e55d7891878d | |
parent | 7cc801a8d9791fcda6b90f63834eeaca45486e98 [diff] |
Fix BP content description when face is not recognized Test: Manual, verify correct string is announced by talkback Fixes: 293547981 Change-Id: I0c46ef24c09bb2972c05c503891eeb6fcb90357b
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt index e60d4e1..0c7d56f 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt +++ b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt
@@ -100,6 +100,9 @@ ) } 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(