diff options
| author | 2023-08-02 00:35:02 +0000 | |
|---|---|---|
| committer | 2023-08-02 00:35:02 +0000 | |
| commit | 91e7a898951c52bae26a9b1ca749501b801de466 (patch) | |
| tree | a2ea333fd5b11b89b430cdcbd02d7d406c78170a | |
| parent | ac93efa15f757b642d4116d3be940a67c7ca95b9 (diff) | |
| parent | a5192865427678586752ddc8d660bc128dfb3ea7 (diff) | |
Merge "Fix BP content description when face is not recognized" into udc-d1-dev am: f714ca7d6e am: 593ba7908a am: a519286542
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24284359
Change-Id: I8f8df2777019808b3ccb93252dfd310a0c0a7da6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFaceIconController.kt index e60d4e10f957..0c7d56f46530 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 @@ 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( |