Updating notification more often

This commit is contained in:
ByteHamster 2019-10-30 18:19:36 +01:00
parent dd5ba4d38d
commit 6825cca32a
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}