MainApp: remove unused variable

Leftover

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey Vilas 2022-04-19 11:34:18 +02:00
parent fb12a65949
commit ca72520d54
No known key found for this signature in database
GPG key ID: 2585783189A62105

View file

@ -231,7 +231,6 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector {
// we don't want to handle crashes occurring inside crash reporter activity/process; // we don't want to handle crashes occurring inside crash reporter activity/process;
// let the platform deal with those // let the platform deal with those
final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash"); final boolean isCrashReportingProcess = getAppProcessName().endsWith(":crash");
final boolean useExceptionHandler = !appInfo.isDebugBuild();
if (!isCrashReportingProcess && !appInfo.isDebugBuild()) { if (!isCrashReportingProcess && !appInfo.isDebugBuild()) {
Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler(); Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler();