Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b04714b authored by PauloftheWest's avatar PauloftheWest Committed by Android (Google) Code Review
Browse files

Merge "Fixed a Settings crash when exiting Wi-Fi Settings." into lmp-dev

parents 7e905488 4da0e819
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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) {