summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DevelopmentSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/DevelopmentSettings.java')
-rw-r--r--src/com/android/settings/DevelopmentSettings.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java
index 531ea84..bb31b79 100644
--- a/src/com/android/settings/DevelopmentSettings.java
+++ b/src/com/android/settings/DevelopmentSettings.java
@@ -454,7 +454,10 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
}
mDevelopmentTools = (PreferenceScreen) findPreference(DEVELOPMENT_TOOLS);
- mAllPrefs.add(mDevelopmentTools);
+ if (Utils.updatePreferenceToSpecificActivityOrRemove(getActivity(),
+ getPreferenceScreen(), mDevelopmentTools.getKey(), 0)) {
+ mAllPrefs.add(mDevelopmentTools);
+ }
mColorModePreference = (ColorModePreference) findPreference(KEY_COLOR_MODE);
mColorModePreference.updateCurrentAndSupported();