Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
- Fixed the DiskCache initialization. The DiskLruCache is initialized…
Browse files Browse the repository at this point in the history
… and then the DiskCacheAdapter overrides the instance.

Signed-off-by: Carlos Sobrinho <carlos.sobrinho@motain.de>
  • Loading branch information
Carlos Sobrinho committed Aug 30, 2013
1 parent 9ade53a commit 3b394ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/src/com/bumptech/glide/resize/ImageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,9 @@ public Thread newThread(Runnable runnable) {
} catch (IOException e) {
//this is probably a corrupt or full sd card, so default to not using a disk cache
e.printStackTrace();
diskCache = new DiskCacheAdapter();
}
}

diskCache = new DiskCacheAdapter();
}

if (!recycleBitmaps) {
Expand Down

0 comments on commit 3b394ca

Please sign in to comment.