diff --git a/app/src/main/java/com/owncloud/android/MainApp.java b/app/src/main/java/com/owncloud/android/MainApp.java index 9dd6947779..089a4c2936 100644 --- a/app/src/main/java/com/owncloud/android/MainApp.java +++ b/app/src/main/java/com/owncloud/android/MainApp.java @@ -231,7 +231,6 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector { // we don't want to handle crashes occurring inside crash reporter activity/process; // let the platform deal with those final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash"); - final boolean useExceptionHandler = !appInfo.isDebugBuild(); if (!isCrashReportingProcess && !appInfo.isDebugBuild()) { Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler();