Skip to content

Commit 42b45f1

Browse files
committed
Update BitmapGlobalConfig
1 parent 811cd18 commit 42b45f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/com/lidroid/xutils/bitmap/BitmapGlobalConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ public String getDiskCachePath() {
100100
public Downloader getDownloader() {
101101
if (downloader == null) {
102102
downloader = new SimpleDownloader();
103-
downloader.setContext(mContext);
104103
}
104+
downloader.setContext(mContext);
105105
downloader.setDefaultExpiry(getDefaultCacheExpiry());
106106
downloader.setDefaultConnectTimeout(getDefaultConnectTimeout());
107107
downloader.setDefaultReadTimeout(getDefaultReadTimeout());

0 commit comments

Comments
 (0)