mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Merge pull request #10059 from nextcloud/exceptionHandling
Do not use ExceptionHandler on debug builds
This commit is contained in:
commit
ace6b49786
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector {
|
|||
// let the platform deal with those
|
||||
final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash");
|
||||
|
||||
if (!isCrashReportingProcess) {
|
||||
if (!isCrashReportingProcess && !appInfo.isDebugBuild()) {
|
||||
Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler();
|
||||
final ExceptionHandler crashReporter = new ExceptionHandler(this,
|
||||
defaultPlatformHandler);
|
||||
|
|
Loading…
Reference in a new issue