From 11a2cece68a9812d81918429ea0518fa7ee11a81 Mon Sep 17 00:00:00 2001 From: Jonathan Almeida Date: Tue, 28 Apr 2020 11:45:25 -0400 Subject: [PATCH] [fenix] 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 84f7053ea9..d515f5e402 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),