Moved crash.log file

This commit is contained in:
M66B
2022-04-30 22:35:45 +02:00
parent 531eddf84b
commit 044723170e
2 changed files with 2 additions and 2 deletions

View File

@@ -1628,7 +1628,7 @@ public class Log {
}
static void writeCrashLog(Context context, Throwable ex) {
File file = new File(context.getCacheDir(), "crash.log");
File file = new File(context.getFilesDir(), "crash.log");
Log.w("Writing exception to " + file);
try (FileWriter out = new FileWriter(file, true)) {