diff options
author | ByteHamster <info@bytehamster.com> | 2019-05-06 23:08:45 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-05-06 23:08:45 +0200 |
commit | cd5224d01b0c159ac027e75be006b70cb9c322ca (patch) | |
tree | c2036cb777c3869c292d1bdfe2ad8d6071b81e01 /core/src/main | |
parent | dbda4a9aa8efde99dafe82be980ca47413bbb50e (diff) | |
download | AntennaPod-cd5224d01b0c159ac027e75be006b70cb9c322ca.zip |
Charging constraint is related to auto download only
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java b/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java index d3f25825f..96b83a995 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/download/AutoUpdateManager.java @@ -68,7 +68,6 @@ public class AutoUpdateManager { } else { constraints.setRequiredNetworkType(NetworkType.UNMETERED); } - constraints.setRequiresCharging(!UserPreferences.isEnableAutodownloadOnBattery()); return constraints.build(); } } |