Retry calls

This commit is contained in:
inorichi
2015-10-27 18:40:13 +01:00
parent 68e5efb02b
commit 3561392d24
3 changed files with 20 additions and 15 deletions

View File

@@ -103,7 +103,8 @@ public abstract class Source extends BaseSource {
}
public void savePageList(String chapterUrl, List<Page> pages) {
mCacheManager.putPageUrlsToDiskCache(chapterUrl, pages);
if (pages != null)
mCacheManager.putPageUrlsToDiskCache(chapterUrl, pages);
}
private List<Page> convertToPages(List<String> pageUrls) {