am b28cfb20
: am 7f397ef5
: am a205445b
: am 3b04714b
: Merge "Fixed a Settings crash when exiting Wi-Fi Settings." into lmp-dev
* commit 'b28cfb2001182a99f6177e16ae241563159503b5': Fixed a Settings crash when exiting Wi-Fi Settings.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user