mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-26 08:44:13 +01:00
Merge pull request #3190 from jas14/enable-ethernet-autodl
Enable autodownload over Ethernet
This commit is contained in:
commit
e06dc4fd89
@ -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 {
|
} else {
|
||||||
if (!UserPreferences.isEnableAutodownloadOnMobile()) {
|
if (!UserPreferences.isEnableAutodownloadOnMobile()) {
|
||||||
Log.d(TAG, "Auto Download not enabled on Mobile");
|
Log.d(TAG, "Auto Download not enabled on Mobile");
|
||||||
|
Loading…
Reference in New Issue
Block a user