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

Commit 4e86b61f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Settings: Fix crash on WifiAdvancedSetting" into android_ui.lnx.2.1-dev

parents e70458b9 a07c7298
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -153,8 +153,10 @@ public class AdvancedWifiSettings extends RestrictedSettingsFragment
            enableHs2.setChecked(Settings.Global.getInt(getContentResolver(),
                    Settings.Global.WIFI_HOTSPOT2_ENABLED, WIFI_HS2_DISABLED) == WIFI_HS2_ENABLED);
        } else {
            if(enableHs2 != null){
                getPreferenceScreen().removePreference(enableHs2);
            }
        }

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