Add saving crash log

This commit is contained in:
seven332 committed 2019-02-11 18:14:35 +08:00
1 parent 6d72349ee7
commit c5a6526171
9 files changed
+196

No files matched your search

@@ -950,6 +950,13 @@ public class Settings {
putBoolean(KEY_SAVE_PARSE_ERROR_BODY, value);
}
private static final String KEY_SAVE_CRASH_LOG = "save_crash_log";
private static final boolean DEFAULT_SAVE_CRASH_LOG = false;
public static boolean getSaveCrashLog() {
return getBoolean(KEY_SAVE_CRASH_LOG, DEFAULT_SAVE_CRASH_LOG);
}
public static final String KEY_SECURITY = "security";
public static final String DEFAULT_SECURITY = "";