Refactoring

This commit is contained in:
M66B
2019-08-12 16:18:41 +02:00
parent 25c7d1d33a
commit d1a921709a
2 changed files with 4 additions and 4 deletions

View File

@@ -322,7 +322,7 @@ public class Log {
Log.i(message + " " + mb + " MB" + " " + perc + " %");
}
static boolean ownFault(Throwable ex) {
static boolean isOwnFault(Throwable ex) {
if (ex instanceof OutOfMemoryError)
return false;
@@ -368,7 +368,7 @@ public class Log {
return false;
}
static void writeCrash(Context context, Throwable ex) {
static void writeCrashLog(Context context, Throwable ex) {
File file = new File(context.getCacheDir(), "crash.log");
Log.w("Writing exception to " + file);