mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
use correct constructor call
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
cb812f6efe
commit
89b26e87a5
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue