From 6003d8edd9402080efc2e83f815b77c3f9604535 Mon Sep 17 00:00:00 2001 From: Ben Dean-Kawamura Date: Tue, 7 Feb 2023 13:25:15 -0500 Subject: [PATCH] [fenix] Don't pass CrashReporter to RustLog RustLog is no longer using the crash reporter, since crash reports now go through the `rusterrors` module. --- app/src/main/java/org/mozilla/fenix/FenixApplication.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/FenixApplication.kt b/app/src/main/java/org/mozilla/fenix/FenixApplication.kt index e08f7de5a7..4ff7925530 100644 --- a/app/src/main/java/org/mozilla/fenix/FenixApplication.kt +++ b/app/src/main/java/org/mozilla/fenix/FenixApplication.kt @@ -475,11 +475,7 @@ open class FenixApplication : LocaleAwareApplication(), Provider { initializeRustErrors(components.analytics.crashReporter) // ... but RustHttpConfig.setClient() and RustLog.enable() can be called later. - // Once application-services has switched to using the new - // error reporting system, RustLog shouldn't input a CrashReporter - // anymore. - // (https://github.com/mozilla/application-services/issues/4981). - RustLog.enable(components.analytics.crashReporter) + RustLog.enable() } @OptIn(DelicateCoroutinesApi::class) // GlobalScope usage