diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/settings/DevelopmentSettings.java | 5 |
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(); |