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

@@ -57,12 +57,12 @@ public class ApplicationEx extends Application {
Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() {
@Override
public void uncaughtException(Thread thread, Throwable ex) {
if (!crash_reports && Log.ownFault(ex)) {
if (!crash_reports && Log.isOwnFault(ex)) {
Log.e(ex);
if (BuildConfig.BETA_RELEASE ||
!Helper.isPlayStoreInstall(ApplicationEx.this))
Log.writeCrash(ApplicationEx.this, ex);
Log.writeCrashLog(ApplicationEx.this, ex);
if (prev != null)
prev.uncaughtException(thread, ex);