From 76002c598752196156e0ba6f7ee413e3e066b0f6 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Tue, 28 Apr 2020 11:45:25 -0400 Subject: [PATCH] Fix breaking API changes in CrashReporter --- app/src/main/java/org/mozilla/fenix/components/Analytics.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/Analytics.kt b/app/src/main/java/org/mozilla/fenix/components/Analytics.kt index 84f7053ea..d515f5e40 100644 --- a/app/src/main/java/org/mozilla/fenix/components/Analytics.kt +++ b/app/src/main/java/org/mozilla/fenix/components/Analytics.kt @@ -49,8 +49,6 @@ class Analytics( services.add(sentryService) } - services.add(GleanCrashReporterService(context)) - // The name "Fenix" here matches the product name on Socorro and is unrelated to the actual app name: // https://bugzilla.mozilla.org/show_bug.cgi?id=1523284 val socorroService = MozillaSocorroService(context, appName = "Fenix", @@ -71,6 +69,7 @@ class Analytics( CrashReporter( services = services, + telemetryServices = listOf(GleanCrashReporterService(context)), shouldPrompt = CrashReporter.Prompt.ALWAYS, promptConfiguration = CrashReporter.PromptConfiguration( appName = context.getString(R.string.app_name),