Improve Settings
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user