Loading src/com/android/settings/wifi/AdvancedWifiSettings.java 100755 → 100644 +3 −1 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
src/com/android/settings/wifi/AdvancedWifiSettings.java 100755 → 100644 +3 −1 Original line number Diff line number Diff line Loading @@ -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); Loading