Store spider info file in cache
This commit is contained in:
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())) {
|
||||
|
||||
Reference in new issue
Block a user