Add save html content when parse error

This commit is contained in:
seven332 committed 2016-03-13 19:46:20 +08:00
1 parent be8f78fa4f
commit 5fe5737769
17 files changed
+175 -10

No files matched your search

@@ -32,6 +32,7 @@ public class AppConfig {
private static final String TEMP = "temp";
private static final String IMAGE = "image";
private static final String CRASH = "crash";
private static final String PARSE_ERROR = "parse_error";
private static Context sContext;
@@ -91,6 +92,11 @@ public class AppConfig {
return getDirInExternalAppDir(CRASH);
}
@Nullable
public static File getExternalParseErrorDir() {
return getDirInExternalAppDir(PARSE_ERROR);
}
@Nullable
public static File createExternalTempFile() {
return FileUtils.createTempFile(getExternalTempDir(), null);