Adding favicons read off disk to memory cache

This commit is contained in:
anthony restaino 2017-06-10 09:45:35 -04:00
parent 5f871787a5
commit ee2cf5fd35

View File

@ -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) {