1
0
Fork 0

Fix breaking API changes in CrashReporter

master
Jonathan Almeida 2020-04-28 11:45:25 -04:00 committed by Jonathan Almeida
parent ce8a82bf1a
commit 76002c5987
1 changed files with 1 additions and 2 deletions

View File

@ -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),