diff options
author | Stevespear426 <stephen.k.spear@gmail.com> | 2013-02-11 23:02:34 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-03-11 04:38:03 -0700 |
commit | c7177f87e1e007ac722e9a7143781560fddd7608 (patch) | |
tree | 270cbe67e72a31f762703ba0ae1712a4a6b13892 /src/com/android/settings/cyanogenmod/SystemSettings.java | |
parent | f1bbefdfe6fd83f664f0db3d7bd7c0334577322e (diff) | |
download | packages_apps_settings-c7177f87e1e007ac722e9a7143781560fddd7608.zip packages_apps_settings-c7177f87e1e007ac722e9a7143781560fddd7608.tar.gz packages_apps_settings-c7177f87e1e007ac722e9a7143781560fddd7608.tar.bz2 |
Settings: Navigation bar Quick launch shortcuts (1 of 2)
This allows up to 3 targets on the Navigation bar ring
or Home buttons with custom Quick launch shortcut actions.
Patchset 1 to 17 - Initial commits and edits
Patchset 18 - Update preference layout
- Use AOSP terminology for the feature name
- Group under new 'Navigation bar' category
- Rename Navigationbar buttons configurator
Patchset 19 - Update commit message with x of y indicator
Change-Id: I91a7b86b7bfa79526b537e28b510ec078a58c956
Diffstat (limited to 'src/com/android/settings/cyanogenmod/SystemSettings.java')
-rw-r--r-- | src/com/android/settings/cyanogenmod/SystemSettings.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/settings/cyanogenmod/SystemSettings.java b/src/com/android/settings/cyanogenmod/SystemSettings.java index d34b00d..1c07877 100644 --- a/src/com/android/settings/cyanogenmod/SystemSettings.java +++ b/src/com/android/settings/cyanogenmod/SystemSettings.java @@ -41,6 +41,8 @@ public class SystemSettings extends SettingsPreferenceFragment { private static final String KEY_BATTERY_LIGHT = "battery_light"; private static final String KEY_HARDWARE_KEYS = "hardware_keys"; private static final String KEY_NAVIGATION_BAR = "navigation_bar"; + private static final String KEY_NAVIGATION_RING = "navigation_ring"; + private static final String KEY_NAVIGATION_BAR_CATEGORY = "navigation_bar_category"; private static final String KEY_LOCK_CLOCK = "lock_clock"; private static final String KEY_STATUS_BAR = "status_bar"; private static final String KEY_QUICK_SETTINGS = "quick_settings_panel"; @@ -95,12 +97,16 @@ public class SystemSettings extends SettingsPreferenceFragment { } if (removeNavbar) { prefScreen.removePreference(findPreference(KEY_NAVIGATION_BAR)); + prefScreen.removePreference(findPreference(KEY_NAVIGATION_RING)); + prefScreen.removePreference(findPreference(KEY_NAVIGATION_BAR_CATEGORY)); } } else { // Secondary user is logged in, remove all primary user specific preferences prefScreen.removePreference(findPreference(KEY_BATTERY_LIGHT)); prefScreen.removePreference(findPreference(KEY_HARDWARE_KEYS)); prefScreen.removePreference(findPreference(KEY_NAVIGATION_BAR)); + prefScreen.removePreference(findPreference(KEY_NAVIGATION_RING)); + prefScreen.removePreference(findPreference(KEY_NAVIGATION_BAR_CATEGORY)); prefScreen.removePreference(findPreference(KEY_STATUS_BAR)); prefScreen.removePreference(findPreference(KEY_QUICK_SETTINGS)); prefScreen.removePreference(findPreference(KEY_POWER_MENU)); |