summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DevelopmentSettings.java
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2014-06-09 19:22:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-09 19:22:19 +0000
commitc92af83b0c94eaf99f1c4d9675b39b4a73a958cc (patch)
tree2c648d82b763588ef614d6d997895d0aa0a7af75 /src/com/android/settings/DevelopmentSettings.java
parent51d898fd0223a4b7c728980ab987dd985c02df5f (diff)
parentee27b9de8f2ab17d50b90dd8c13546aebb4e9fc1 (diff)
downloadpackages_apps_Settings-c92af83b0c94eaf99f1c4d9675b39b4a73a958cc.tar.gz
packages_apps_Settings-c92af83b0c94eaf99f1c4d9675b39b4a73a958cc.tar.bz2
packages_apps_Settings-c92af83b0c94eaf99f1c4d9675b39b4a73a958cc.zip
Merge "Settings user restriction changes: wireless & networks changes."
Diffstat (limited to 'src/com/android/settings/DevelopmentSettings.java')
-rw-r--r--src/com/android/settings/DevelopmentSettings.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/settings/DevelopmentSettings.java b/src/com/android/settings/DevelopmentSettings.java
index fe7a21731..264379331 100644
--- a/src/com/android/settings/DevelopmentSettings.java
+++ b/src/com/android/settings/DevelopmentSettings.java
@@ -467,6 +467,9 @@ public class DevelopmentSettings extends SettingsPreferenceFragment
public void onPause() {
super.onPause();
+ if (mUnavailable) {
+ return;
+ }
mSwitchBar.removeOnSwitchChangeListener(this);
mSwitchBar.hide();
}