Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop
This commit is contained in:
commit
5310264961
|
@ -759,7 +759,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
|
||||||
clearAutodownloadSelectedNetworsPreference();
|
clearAutodownloadSelectedNetworsPreference();
|
||||||
}
|
}
|
||||||
// get configured networks
|
// get configured networks
|
||||||
WifiManager wifiservice = (WifiManager) activity.getSystemService(Context.WIFI_SERVICE);
|
WifiManager wifiservice = (WifiManager) activity.getApplicationContext().getSystemService(Context.WIFI_SERVICE);
|
||||||
List<WifiConfiguration> networks = wifiservice.getConfiguredNetworks();
|
List<WifiConfiguration> networks = wifiservice.getConfiguredNetworks();
|
||||||
|
|
||||||
if (networks != null) {
|
if (networks != null) {
|
||||||
|
|
Loading…
Reference in New Issue