From 4c418a5bf6eee0f7eb855ee09e84914f76ffdf1f Mon Sep 17 00:00:00 2001 From: Xiaoyu Lu Date: Thu, 31 Dec 2015 17:44:20 +0800 Subject: [PATCH] fix bug of DiskCacheStrategy.RESOURCE This bug will cache source data at DiskCacheStrategy.RESOURCE. --- .../java/com/bumptech/glide/load/engine/DiskCacheStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/bumptech/glide/load/engine/DiskCacheStrategy.java b/library/src/main/java/com/bumptech/glide/load/engine/DiskCacheStrategy.java index 0633c1c169..b110e31210 100644 --- a/library/src/main/java/com/bumptech/glide/load/engine/DiskCacheStrategy.java +++ b/library/src/main/java/com/bumptech/glide/load/engine/DiskCacheStrategy.java @@ -93,7 +93,7 @@ public boolean decodeCachedData() { public static final DiskCacheStrategy RESOURCE = new DiskCacheStrategy() { @Override public boolean isDataCacheable(DataSource dataSource) { - return true; + return false; } @Override