mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Do not use ExceptionHandler on debug builds
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
69234dec5f
commit
df7e70a3f1
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