[Lock screen] Add a11y string for password

Added "device password" a11y string to be consistent with other
callouts such as for the PIN.

Test: Checked talkback string
Fixes: 77605737
Change-Id: Ie27eba47486ecb494693e8f4a9458f398dbabd1c
This commit is contained in:
Rohan Shah
2018-05-04 15:54:19 -07:00
parent 530c4c1f0f
commit fa32b35ea3
2 changed files with 4 additions and 0 deletions

View File

@@ -49,6 +49,7 @@
<EditText android:id="@+id/passwordEntry"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/keyguard_accessibility_password"
android:gravity="center_horizontal"
android:singleLine="true"
android:textStyle="normal"

View File

@@ -120,6 +120,9 @@
<!-- Accessibility description of the PIN password view. [CHAR_LIMIT=none] -->
<string name="keyguard_accessibility_pin_area">PIN area</string>
<!-- Accessibility description of the normal password view. [CHAR_LIMIT=none] -->
<string name="keyguard_accessibility_password">Device password</string>
<!-- Accessibility description of the SIM PIN password view. [CHAR_LIMIT=none] -->
<string name="keyguard_accessibility_sim_pin_area">SIM PIN area</string>
<!-- Accessibility description of the SIM PUK password view. [CHAR_LIMIT=none] -->