1
0
Fork 0

For #235 - Add Glean crash count + docs.

master
Chenxia Liu 2019-09-23 18:29:33 -07:00 committed by Sawyer Blatz
parent aa9527e8dc
commit 8f97d247a6
2 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import android.content.Context
import android.content.Intent
import mozilla.components.lib.crash.CrashReporter
import mozilla.components.lib.crash.service.CrashReporterService
import mozilla.components.lib.crash.service.GleanCrashReporterService
import mozilla.components.lib.crash.service.MozillaSocorroService
import mozilla.components.lib.crash.service.SentryService
import org.mozilla.fenix.BuildConfig
@ -46,6 +47,8 @@ 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")

File diff suppressed because one or more lines are too long