mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 08:21:59 +01:00
Enable autodownload over Ethernet
This commit is contained in:
parent
b89271329b
commit
49ef28877d
@ -68,6 +68,11 @@ public class NetworkUtils {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (networkInfo.getType() == ConnectivityManager.TYPE_ETHERNET) {
|
||||
Log.d(TAG, "Device is connected to Ethernet");
|
||||
if (networkInfo.isConnected()) {
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
if (!UserPreferences.isEnableAutodownloadOnMobile()) {
|
||||
Log.d(TAG, "Auto Download not enabled on Mobile");
|
||||
|
Loading…
Reference in New Issue
Block a user