Improve Settings

This commit is contained in:
seven332 committed 2016-03-16 19:28:13 +08:00
1 parent 37bec12843
commit 896d731069
10 files changed
+145 -14

No files matched your search

@@ -33,6 +33,7 @@ public class AppConfig {
private static final String IMAGE = "image";
private static final String CRASH = "crash";
private static final String PARSE_ERROR = "parse_error";
private static final String LOGCAT = "logcat";
private static Context sContext;
@@ -97,6 +98,11 @@ public class AppConfig {
return getDirInExternalAppDir(PARSE_ERROR);
}
@Nullable
public static File getExternalLogcatDir() {
return getDirInExternalAppDir(LOGCAT);
}
@Nullable
public static File createExternalTempFile() {
return FileUtils.createTempFile(getExternalTempDir(), null);