|
|
@@ -91,7 +91,7 @@ public class Network extends Fragment {
|
|
|
ft.commit();
|
|
|
} else {
|
|
|
if ( f != null ) {
|
|
|
- ft.remove(f);
|
|
|
+ ft.remove(f);
|
|
|
ft.commit();
|
|
|
}
|
|
|
}
|
|
|
@@ -147,7 +147,7 @@ public class Network extends Fragment {
|
|
|
}
|
|
|
List<WifiConfiguration> configs = wm.getConfiguredNetworks();
|
|
|
if (configs == null)
|
|
|
- return null;
|
|
|
+ return new String[]{"Please", "Turn", "your","Wifi", "on"};
|
|
|
|
|
|
String[] SSIDs = new String[configs.size()];
|
|
|
int i = 0;
|