Skip to content

Commit

Permalink
Fix always defaulting to DiskCacheAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Judd committed Aug 30, 2013
1 parent 8142145 commit fc7d4e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/src/com/bumptech/glide/resize/ImageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ public Thread newThread(Runnable runnable) {
}
}

diskCache = new DiskCacheAdapter();
if (diskCache == null) {
diskCache = new DiskCacheAdapter();
}
}

if (!recycleBitmaps) {
Expand Down

0 comments on commit fc7d4e9

Please sign in to comment.