mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-18 20:01:33 +01:00
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();
|
||||
}
|
||||
// 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();
|
||||
|
||||
if (networks != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user