From 89b26e87a593d1fd44cdd760c98a6c47d3ac8aae Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 1 Aug 2019 12:25:43 +0200 Subject: [PATCH] use correct constructor call Signed-off-by: Andy Scherzinger --- src/main/java/com/owncloud/android/MainApp.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/owncloud/android/MainApp.java b/src/main/java/com/owncloud/android/MainApp.java index f43d09668a..f1a0484131 100644 --- a/src/main/java/com/owncloud/android/MainApp.java +++ b/src/main/java/com/owncloud/android/MainApp.java @@ -44,7 +44,6 @@ import android.view.WindowManager; import com.evernote.android.job.JobManager; import com.evernote.android.job.JobRequest; import com.nextcloud.client.account.UserAccountManager; -import com.nextcloud.client.appinfo.AppInfo; import com.nextcloud.client.device.PowerManagementService; import com.nextcloud.client.di.ActivityInjector; import com.nextcloud.client.di.DaggerAppComponent; @@ -130,9 +129,6 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector { @Inject protected UploadsStorageManager uploadsStorageManager; - @Inject - protected AppInfo appInfo; - @Inject protected OnboardingService onboarding; @@ -199,7 +195,6 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector { if (!isCrashReportingProcess) { Thread.UncaughtExceptionHandler defaultPlatformHandler = Thread.getDefaultUncaughtExceptionHandler(); final ExceptionHandler crashReporter = new ExceptionHandler(this, - () -> appInfo, defaultPlatformHandler); Thread.setDefaultUncaughtExceptionHandler(crashReporter); }