summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2019-10-30 18:19:36 +0100
committerByteHamster <info@bytehamster.com>2019-10-30 18:19:36 +0100
commit6825cca32acbb615919e4c8b53b46a072226385d (patch)
tree7bd8b8935b0b97774c86d18152b986db1d20f79a /core
parentdd5ba4d38de2134e06927b1edad9a3c8feb43e9f (diff)
downloadAntennaPod-6825cca32acbb615919e4c8b53b46a072226385d.zip
Updating notification more often
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
index 80444a62b..95f78366f 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
@@ -528,8 +528,7 @@ public class DownloadService extends Service {
Log.d(TAG, "Setting up notification updater");
if (notificationUpdater == null) {
notificationUpdater = new NotificationUpdater();
- notificationUpdaterFuture = schedExecutor.scheduleAtFixedRate(
- notificationUpdater, 5L, 5L, TimeUnit.SECONDS);
+ notificationUpdaterFuture = schedExecutor.scheduleAtFixedRate(notificationUpdater, 1, 1, TimeUnit.SECONDS);
}
}