Merge "Fix BP content description when face is not recognized" into udc-d1-dev

This commit is contained in:
Austin Delgado
2023-08-01 22:30:30 +00:00
committed by Android (Google) Code Review

View File

@@ -100,6 +100,9 @@ class AuthBiometricFaceIconController(
) )
} else if (newState == STATE_ERROR && oldState != STATE_ERROR) { } else if (newState == STATE_ERROR && oldState != STATE_ERROR) {
animateIconOnce(R.drawable.face_dialog_dark_to_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) { } else if (oldState == STATE_AUTHENTICATING && newState == STATE_AUTHENTICATED) {
animateIconOnce(R.drawable.face_dialog_dark_to_checkmark) animateIconOnce(R.drawable.face_dialog_dark_to_checkmark)
iconView.contentDescription = context.getString( iconView.contentDescription = context.getString(