summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-05-06 16:53:21 -0400
committerJohn Spurlock <jspurlock@google.com>2015-05-06 16:53:21 -0400
commit401943053fe65a0d28fc71f8d5687fed4fa024f8 (patch)
tree7f7c4df0d4e80a9a402f74a72d0391fa5e80c0e7 /packages
parentbc1a2ad8785415d1a4f86b3e477ff16e2e68f795 (diff)
downloadframeworks_base-401943053fe65a0d28fc71f8d5687fed4fa024f8.zip
frameworks_base-401943053fe65a0d28fc71f8d5687fed4fa024f8.tar.gz
frameworks_base-401943053fe65a0d28fc71f8d5687fed4fa024f8.tar.bz2
Volume a11y: Rename introduction 'confirm' button to 'close'.
For the benefit of screen readers. Bug: 20813824 Change-Id: I776cf75d3c0f2e2d5b67bcbad476a28f9ef37c5f
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/res/layout/zen_mode_panel.xml2
-rw-r--r--packages/SystemUI/res/values/strings.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/res/layout/zen_mode_panel.xml b/packages/SystemUI/res/layout/zen_mode_panel.xml
index 595c9ed..0264f3d 100644
--- a/packages/SystemUI/res/layout/zen_mode_panel.xml
+++ b/packages/SystemUI/res/layout/zen_mode_panel.xml
@@ -52,7 +52,7 @@
android:layout_alignParentEnd="true"
android:background="@drawable/btn_borderless_rect"
android:clickable="true"
- android:contentDescription="@string/accessibility_desc_confirm"
+ android:contentDescription="@string/accessibility_desc_close"
android:scaleType="center"
android:src="@drawable/ic_close"
android:tint="@android:color/white" />
diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml
index 8466a5a..8606a59 100644
--- a/packages/SystemUI/res/values/strings.xml
+++ b/packages/SystemUI/res/values/strings.xml
@@ -424,8 +424,8 @@
<string name="accessibility_desc_settings">Settings</string>
<!-- Content description for the recent apps panel (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_desc_recent_apps">Overview.</string>
- <!-- Content description for the confirm button in the zen mode panel introduction message. [CHAR LIMIT=NONE] -->
- <string name="accessibility_desc_confirm">Confirm</string>
+ <!-- Content description for the close button in the zen mode panel introduction message. [CHAR LIMIT=NONE] -->
+ <string name="accessibility_desc_close">Close</string>
<!-- Content description of the user tile in quick settings (not shown on the screen). [CHAR LIMIT=NONE] -->
<string name="accessibility_quick_settings_user">User <xliff:g id="user" example="John Doe">%s</xliff:g>.</string>