Updating notification more often
This commit is contained in:
parent
dd5ba4d38d
commit
6825cca32a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue