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

@@ -37,11 +37,6 @@ public class AppConfig {
sContext = context.getApplicationContext();
}
public static File getSpiderInfoCacheDir() {
File dir = new File(sContext.getCacheDir(), SPIDER_INFO);
return FileUtils.ensureDirectory(dir) ? dir : null;
}
@Nullable
public static File getExternalAppDir() {
if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {