Merge pull request #3639 from ByteHamster/show-failed-parse-badge
Show update failed badge on parse errors
This commit is contained in:
commit
1a6cb9bd41
|
@ -284,6 +284,7 @@ public class DownloadService extends Service {
|
|||
saveDownloadStatus(task.getDownloadStatus());
|
||||
}
|
||||
} else {
|
||||
DBWriter.setFeedLastUpdateFailed(request.getFeedfileId(), true);
|
||||
saveDownloadStatus(task.getDownloadStatus());
|
||||
}
|
||||
} else if (type == FeedMedia.FEEDFILETYPE_FEEDMEDIA) {
|
||||
|
|
|
@ -831,6 +831,7 @@ public class DBWriter {
|
|||
adapter.open();
|
||||
adapter.setFeedLastUpdateFailed(feedId, lastUpdateFailed);
|
||||
adapter.close();
|
||||
EventBus.getDefault().post(new FeedListUpdateEvent(feedId));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue