summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml14
-rw-r--r--src/com/android/settings/AccessibilitySettings.java6
-rw-r--r--src/com/android/settings/Settings.java4
3 files changed, 14 insertions, 10 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index fe34891..0c5b4d6 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.
</string>
- <!-- Title for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=35] -->
- <string name="accessibility_global_gesture_preference_title">Global enable gesture</string>
- <!-- Summary for the accessibility preference screen to enable the global geture to enable accessibility. [CHAR LIMIT=none] -->
- <string name="accessibility_global_gesture_preference_summary">
- To enable accessibility long press the power button, after a vibration or a beep long press with two fingers.
- </string>
+ <!-- Title for the preference to enable the global geture that turns on accessibility. [CHAR LIMIT=35] -->
+ <string name="accessibility_global_gesture_preference_title">Accessibility shortcut</string>
+ <!-- Summary for the preference to enable the global geture that turns on accessibility (on state). [CHAR LIMIT=60] -->
+ <string name="accessibility_global_gesture_preference_summary_on">Press and hold power, then touch and hold two fingers</string>
+ <!-- Summary for the preference screen to enable the global geture that turns on accessibility (off state). [CHAR LIMIT=35] -->
+ <string name="accessibility_global_gesture_preference_summary_off">Off</string>
+ <!-- Description for the preference screen to enable the global geture taht turns on accessibility. [CHAR LIMIT=none] -->
+ <string name="accessibility_global_gesture_preference_description">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.</string>
<!-- Title for the accessibility preference to enable large text. [CHAR LIMIT=35] -->
<string name="accessibility_toggle_large_text_preference_title">Large text</string>
<!-- Title for the accessibility preference to enable screen magnification. [CHAR LIMIT=35] -->
diff --git a/src/com/android/settings/AccessibilitySettings.java b/src/com/android/settings/AccessibilitySettings.java
index 1edff17..266621f 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);
}
}
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java
index c8649ea..c2b5cc1 100644
--- a/src/com/android/settings/Settings.java
+++ b/src/com/android/settings/Settings.java
@@ -20,6 +20,7 @@ import com.android.internal.util.ArrayUtils;
import com.android.settings.accounts.AccountSyncSettings;
import com.android.settings.accounts.AuthenticatorHelper;
import com.android.settings.accounts.ManageAccountsSettings;
+import com.android.settings.applications.InstalledAppDetails;
import com.android.settings.applications.ManageApplications;
import com.android.settings.bluetooth.BluetoothEnabler;
import com.android.settings.deviceinfo.Memory;
@@ -365,7 +366,8 @@ public class Settings extends PreferenceActivity
PrivacySettings.class.getName().equals(fragmentName) ||
ManageAccountsSettings.class.getName().equals(fragmentName) ||
VpnSettings.class.getName().equals(fragmentName) ||
- SecuritySettings.class.getName().equals(fragmentName)) {
+ SecuritySettings.class.getName().equals(fragmentName) ||
+ InstalledAppDetails.class.getName().equals(fragmentName)) {
intent.putExtra(EXTRA_CLEAR_UI_OPTIONS, true);
}