Download Status entries for Feeds are now created properly
This commit is contained in:
parent
fb2f19459a
commit
119f718bcf
|
@ -281,11 +281,12 @@ public class DownloadService extends Service {
|
|||
requester.removeDownload(feed);
|
||||
|
||||
cleanup();
|
||||
// Save information of feed in DB
|
||||
manager.updateFeed(service, feed);
|
||||
long statusId = manager.addDownloadStatus(service, new DownloadStatus(feed, 0, true));
|
||||
sendDownloadHandledIntent(feed.getDownloadId(), statusId, hasImage, imageId);
|
||||
feed.setDownloadId(0);
|
||||
// Save information of feed in DB
|
||||
manager.updateFeed(service, feed);
|
||||
manager.setFeed(service, feed);
|
||||
queryDownloads();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue