diff options
author | PauloftheWest <paulofthewest@google.com> | 2014-09-23 13:00:01 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-23 13:00:02 +0000 |
commit | 3b04714bdf970eaad831edb3531253c87aced2bc (patch) | |
tree | cbd54956d43a9e8b7120721d76f7c01c15817193 | |
parent | 7e90548836b3e7c4ec8132d9965ba11f055f6931 (diff) | |
parent | 4da0e819ee733f8054bf2fd76b0e0c0e543a18e9 (diff) | |
download | packages_apps_Settings-3b04714bdf970eaad831edb3531253c87aced2bc.zip packages_apps_Settings-3b04714bdf970eaad831edb3531253c87aced2bc.tar.gz packages_apps_Settings-3b04714bdf970eaad831edb3531253c87aced2bc.tar.bz2 |
Merge "Fixed a Settings crash when exiting Wi-Fi Settings." into lmp-dev
-rw-r--r-- | src/com/android/settings/wifi/WifiEnabler.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/settings/wifi/WifiEnabler.java b/src/com/android/settings/wifi/WifiEnabler.java index 8426439..0952941 100644 --- a/src/com/android/settings/wifi/WifiEnabler.java +++ b/src/com/android/settings/wifi/WifiEnabler.java @@ -105,8 +105,6 @@ public class WifiEnabler implements SwitchBar.OnSwitchChangeListener { mListeningToOnSwitchChange = true; } mSwitchBar.show(); - - mContext.registerReceiver(mReceiver, mIntentFilter); } public void teardownSwitchBar() { @@ -115,8 +113,6 @@ public class WifiEnabler implements SwitchBar.OnSwitchChangeListener { mListeningToOnSwitchChange = false; } mSwitchBar.hide(); - - mContext.unregisterReceiver(mReceiver); } public void resume(Context context) { |