diff --git a/app/src/main/java/acr/browser/lightning/favicon/FaviconModel.java b/app/src/main/java/acr/browser/lightning/favicon/FaviconModel.java index e9ecf6c..02c7ee5 100644 --- a/app/src/main/java/acr/browser/lightning/favicon/FaviconModel.java +++ b/app/src/main/java/acr/browser/lightning/favicon/FaviconModel.java @@ -136,11 +136,14 @@ public class FaviconModel { File faviconCacheFile = createFaviconCacheFile(mApplication, uri); - Bitmap favicon = getFaviconFromMemCache(url); if (faviconCacheFile.exists() && favicon == null) { favicon = mImageFetcher.retrieveFaviconFromCache(faviconCacheFile); + + if (favicon != null) { + addFaviconToMemCache(url, favicon); + } } if (favicon == null) {