Merge "Fix BP content description when face is not recognized" into udc-d1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f714ca7d6e
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user