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

Commit c2cf2568 authored by PauloftheWest's avatar PauloftheWest
Browse files

Fixed a bug were AdvanceWifiSettings would crash on resume.

Bug: 17059286
Change-Id: I9c2b03806a45c739cfb4edf64a1518d60e74cdf5
parent f14fa7ed
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -135,8 +135,10 @@ public class AdvancedWifiSettings extends SettingsPreferenceFragment
            wifiAssistant.setOnPreferenceChangeListener(this);
            wifiAssistant.setChecked(checked);
        } else {
            if (wifiAssistant != null) {
                getPreferenceScreen().removePreference(wifiAssistant);
            }
        }

        Intent wifiDirectIntent = new Intent(context,
                com.android.settings.Settings.WifiP2pSettingsActivity.class);