summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2015-06-23 17:48:48 -0400
committerSelim Cinek <cinek@google.com>2015-06-23 17:48:48 -0400
commitcf8347b33ffb8162de2681f58bfb90855337c499 (patch)
treed76bf5568aed1434001a7fb23193606c54440d71 /res
parente5fc0bae7315ea22417ad17d54821c28558cbd36 (diff)
downloadpackages_apps_Settings-cf8347b33ffb8162de2681f58bfb90855337c499.zip
packages_apps_Settings-cf8347b33ffb8162de2681f58bfb90855337c499.tar.gz
packages_apps_Settings-cf8347b33ffb8162de2681f58bfb90855337c499.tar.bz2
Added contentDescription for fingerprint on the confirmCredential screen
Bug: 21850269 Change-Id: Ia3720451a74e69e119b60121d7906274c522f70a
Diffstat (limited to 'res')
-rw-r--r--res/layout/confirm_lock_password_base.xml1
-rw-r--r--res/layout/confirm_lock_pattern_base.xml1
-rw-r--r--res/values/strings.xml3
3 files changed, 5 insertions, 0 deletions
diff --git a/res/layout/confirm_lock_password_base.xml b/res/layout/confirm_lock_password_base.xml
index 069708f..b20131a 100644
--- a/res/layout/confirm_lock_password_base.xml
+++ b/res/layout/confirm_lock_password_base.xml
@@ -85,6 +85,7 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="24dp"
+ android:contentDescription="@string/confirm_fingerprint_icon_content_description"
android:visibility="gone"/>
</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> \ No newline at end of file
diff --git a/res/layout/confirm_lock_pattern_base.xml b/res/layout/confirm_lock_pattern_base.xml
index cd2cbef..a69d297 100644
--- a/res/layout/confirm_lock_pattern_base.xml
+++ b/res/layout/confirm_lock_pattern_base.xml
@@ -88,6 +88,7 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="24dp"
+ android:contentDescription="@string/confirm_fingerprint_icon_content_description"
android:visibility="gone"/>
</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 120c701..667d07f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -777,6 +777,9 @@
<!-- Text shown when "Add fingerprint" button is disabled -->
<string name="fingerprint_add_max">You can add up to <xliff:g id="count" example="5">%d</xliff:g> fingerprints</string>
+ <!-- Content description for the fingerprint icon when the user is prompted to enter his credentials. Not shown on the screen. [CHAR LIMIT=NONE] -->
+ <string name="confirm_fingerprint_icon_content_description">Use your fingerprint to continue.</string>
+
<!-- Title of the preferences category for preference items to control encryption -->
<string name="crypt_keeper_settings_title">Encryption</string>