Store spider info file in cache

This commit is contained in:
seven332 committed 2016-03-11 15:39:18 +08:00
1 parent e74b49fff7
commit 4aa21bab09
6 files changed
+60 -34

No files matched your search

@@ -52,11 +52,7 @@ public final class SpiderDen {
private static SimpleDiskCache sCache;
public static void initialize(Context context) {
try {
sCache = new SimpleDiskCache(new File(context.getCacheDir(), "image"), 160 * 1024 * 1024);
} catch (IOException e) {
e.printStackTrace();
}
sCache = new SimpleDiskCache(new File(context.getCacheDir(), "image"), 160 * 1024 * 1024);
}
public static UniFile getGalleryDownloadDir(GalleryInfo galleryInfo) {