Touch downloaded image files

pull/178/head
M66B 6 years ago
parent 223023f343
commit 3ddc4c4c9d

@ -495,6 +495,8 @@ class ImageHelper {
File file = getCacheFile(context, id, source);
if (file.exists()) {
Log.i("Using cached " + file);
file.setLastModified(new Date().getTime());
Bitmap bm = BitmapFactory.decodeFile(file.getAbsolutePath());
if (bm != null) {
Drawable d = new BitmapDrawable(context.getResources(), bm);

Loading…
Cancel
Save