Merge pull request #4996 from ByteHamster/download-fixes
Fixed download service regressions
This commit is contained in:
commit
66557e1cbf
@ -643,8 +643,10 @@ public class DownloadService extends Service {
|
|||||||
if (notificationUpdater != null) {
|
if (notificationUpdater != null) {
|
||||||
notificationUpdater.run();
|
notificationUpdater.run();
|
||||||
}
|
}
|
||||||
cancelNotificationUpdater();
|
handler.post(() -> {
|
||||||
stopForeground(true);
|
cancelNotificationUpdater();
|
||||||
stopSelf();
|
stopForeground(true);
|
||||||
|
stopSelf();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -222,7 +222,7 @@ public final class DBTasks {
|
|||||||
}).start();
|
}).start();
|
||||||
}
|
}
|
||||||
if (!normalFeeds.isEmpty()) {
|
if (!normalFeeds.isEmpty()) {
|
||||||
DownloadRequester.getInstance().downloadFeeds(context, feeds, loadAllPages, force, initiatedByUser);
|
DownloadRequester.getInstance().downloadFeeds(context, normalFeeds, loadAllPages, force, initiatedByUser);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user