mirror of https://github.com/nextcloud/android
Merge pull request #4655 from nextcloud/revertDisableException
Revert disabling of exception handler
This commit is contained in:
commit
45f5b384db
|
@ -219,7 +219,7 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector {
|
|||
final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash");
|
||||
final boolean useExceptionHandler = !appInfo.isDebugBuild();
|
||||
|
||||
if (!isCrashReportingProcess) {
|
||||
if (!isCrashReportingProcess && useExceptionHandler) {
|
||||
Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler();
|
||||
final ExceptionHandler crashReporter = new ExceptionHandler(this,
|
||||
defaultPlatformHandler);
|
||||
|
|
Loading…
Reference in New Issue