Commit 43cc7617 authored by Yicheng Li's avatar Yicheng Li Committed by Commit Bot

ash: Visual and accessibility feedback for in-session fingerprint auth

If fingerprint scan failed, provide visual feedback (animation and
prompt text change) to the user. Also add accessibility feedback:
ChromeVox would play an alert sound and say the fingerprint auth result.

These are the same effects as lock screen except that the prompt text
strings mention "authenticate" instead of "unlock".

Bug: b:156258540, b:144861739
Test: Tested with ChromeVox.
Change-Id: If15ba95e532500f8cbf47b421a48a3be3dfb4c6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386579Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Yicheng Li <yichengli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804314}
parent 26796b2e
...@@ -2231,6 +2231,38 @@ This file contains the strings for ash. ...@@ -2231,6 +2231,38 @@ This file contains the strings for ash.
This device may contain apps that haven't been verified by Google. This device may contain apps that haven't been verified by Google.
</message> </message>
<!-- In-session auth dialog strings -->
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_AVAILABLE" desc="Text shown in the auth dialog to remind user that fingerprint auth is supported">
Authenticate with fingerprint
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_TOUCH_SENSOR" desc="Text shown in the auth dialog to warn the user they should touch the fingerprint sensor instead of the fingerprint icon">
Please touch the sensor
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_SUCCESS" desc="Text shown in the auth dialog that fingerprint unlock succeeded">
Success
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_FAILED" desc="Text shown in the auth dialog to tell user that couldn't unlock because finger is not recognized">
Not recognized
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_PASSWORD_REQUIRED" desc="Text shown when fingerprint has been disabled because it has been too long since the user last used the device">
Password required for more security
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_PIN_OR_PASSWORD_REQUIRED" desc="Text shown when fingerprint has been disabled because it has been too long since the user last used the device">
PIN or password required for more security
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_DISABLED_FROM_ATTEMPTS" desc="Text shown in the auth dialog to tell user that fingerprint unlock has reached maximum attempt">
Too many attempts
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_ACCESSIBLE_SUCCESS" desc="Accessibility text read by chromevox when the user successfully authenticated with fingerprint in in-session auth dialog">
Fingerprint recognized
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_ACCESSIBLE_FAILED" desc="Accessibility text read by chromevox that the user's fingerprint authentication attempt was not successful">
Fingerprint not recognized
</message>
<message name="IDS_ASH_IN_SESSION_AUTH_FINGERPRINT_ACCESSIBLE_DISABLED_FROM_ATTEMPTS" desc="Accessibility text read by chromevox when the user has made too many unsuccessful fingerprint unlock attempts; fingerprint is now disabled until the user authenticates with a different authentication method">
Too many fingerprint attempts
</message>
<!-- Multi-profiles intro dialog --> <!-- Multi-profiles intro dialog -->
<message name="IDS_ASH_MULTIPROFILES_INTRO_HEADLINE" desc="Describes which feature multi-profiles intro dialog presents."> <message name="IDS_ASH_MULTIPROFILES_INTRO_HEADLINE" desc="Describes which feature multi-profiles intro dialog presents.">
Multiple sign-in Multiple sign-in
......
4ec45598f581c3b1fe8fb1dd1e2b721890db08fa
\ No newline at end of file
5daa199dd8e82c4f93e586d31a368d2f6ea5f001
\ No newline at end of file
210d720dd775c51fdb20f4af8e53792f6ef5bcba
\ No newline at end of file
fe580a5f27f214aa6b9b8591b157236f9ef53edc
\ No newline at end of file
4ec45598f581c3b1fe8fb1dd1e2b721890db08fa
\ No newline at end of file
5daa199dd8e82c4f93e586d31a368d2f6ea5f001
\ No newline at end of file
0c4d149ba69afded71a27cf3305a4ab1b71d37b8
\ No newline at end of file
59f5a21408e6b20c7a8fd3342071518901827cd8
\ No newline at end of file
210d720dd775c51fdb20f4af8e53792f6ef5bcba
\ No newline at end of file
de2e05b237c46c06492333b41ae231a7c2f304d6
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment