From 6825cca32acbb615919e4c8b53b46a072226385d Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Wed, 30 Oct 2019 18:19:36 +0100 Subject: Updating notification more often --- .../de/danoeh/antennapod/core/service/download/DownloadService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core') 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); } } -- cgit v1.2.3