From 26a6df0877a07524330fff3dc91b608aae58a9f6 Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Mon, 1 Oct 2012 18:41:25 -0700 Subject: [PATCH] Upading the strings for accessibility multi-user. bug:7255486 Change-Id: I775165896124a6fde3684d0f302a90396ce19d2e --- res/values/strings.xml | 14 ++++++++------ .../android/settings/AccessibilitySettings.java | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index fe348918434..0c5b4d6c383 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3105,12 +3105,14 @@ Pan: Drag two or more fingers across the screen.\n Adjust zoom level: Pinch or expand using two or more fingers. - - Global enable gesture - - - To enable accessibility long press the power button, after a vibration or a beep long press with two fingers. - + + Accessibility shortcut + + Press and hold power, then touch and hold two fingers + + Off + + When this feature is turned on, you can quickly enable accessibility features in two steps:\n\nStep 1: Press and hold the power button until you hear a sound or feel a vibration.\nStep 2: Touch and hold two fingers until you hear audio confirmation.\n\nIf the device has multiple users, using this shortcut on the lock screen temporarily enables accessibility until the device is unlocked or the user is changed. Large text diff --git a/src/com/android/settings/AccessibilitySettings.java b/src/com/android/settings/AccessibilitySettings.java index 1edff172420..266621fdb96 100644 --- a/src/com/android/settings/AccessibilitySettings.java +++ b/src/com/android/settings/AccessibilitySettings.java @@ -271,7 +271,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements extras.putString(EXTRA_TITLE, getString( R.string.accessibility_global_gesture_preference_title)); extras.putString(EXTRA_SUMMARY, getString( - R.string.accessibility_global_gesture_preference_summary)); + R.string.accessibility_global_gesture_preference_description)); extras.putBoolean(EXTRA_CHECKED, Settings.Global.getInt(getContentResolver(), Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1); super.onPreferenceTreeClick(mGlobalGesturePreferenceScreen, @@ -509,10 +509,10 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements Settings.Global.ENABLE_ACCESSIBILITY_GLOBAL_GESTURE_ENABLED, 0) == 1; if (globalGestureEnabled) { mGlobalGesturePreferenceScreen.setSummary( - R.string.accessibility_feature_state_on); + R.string.accessibility_global_gesture_preference_summary_on); } else { mGlobalGesturePreferenceScreen.setSummary( - R.string.accessibility_feature_state_off); + R.string.accessibility_global_gesture_preference_summary_off); } }