Fixed crash when parser error occured
This commit is contained in:
parent
919e978f8d
commit
bdc4651e92
|
@ -406,6 +406,9 @@ public class DownloadService extends Service {
|
||||||
|
|
||||||
requester.removeDownload(feed);
|
requester.removeDownload(feed);
|
||||||
cleanup();
|
cleanup();
|
||||||
|
if (savedFeed == null) {
|
||||||
|
savedFeed = feed;
|
||||||
|
}
|
||||||
long statusId = saveDownloadStatus(new DownloadStatus(savedFeed,
|
long statusId = saveDownloadStatus(new DownloadStatus(savedFeed,
|
||||||
reason, successful));
|
reason, successful));
|
||||||
sendDownloadHandledIntent(downloadId, statusId, hasImage, imageId);
|
sendDownloadHandledIntent(downloadId, statusId, hasImage, imageId);
|
||||||
|
|
Loading…
Reference in New Issue