Unverified Commit 9a582a69 authored by Roger Yang's avatar Roger Yang Committed by GitHub
Browse files

Closes #9104: Pass release channel information to Socorro service (#9130)

parent 97b57545
......@@ -25,6 +25,7 @@ import org.mozilla.fenix.test.Mockable
import org.mozilla.geckoview.BuildConfig.MOZ_APP_BUILDID
import org.mozilla.geckoview.BuildConfig.MOZ_APP_VENDOR
import org.mozilla.geckoview.BuildConfig.MOZ_APP_VERSION
import org.mozilla.geckoview.BuildConfig.MOZ_UPDATE_CHANNEL
/**
* Component group for all functionality related to analytics e.g. crash reporting and telemetry.
......@@ -53,7 +54,8 @@ class Analytics(
// 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",
version = MOZ_APP_VERSION, buildId = MOZ_APP_BUILDID, vendor = MOZ_APP_VENDOR)
version = MOZ_APP_VERSION, buildId = MOZ_APP_BUILDID, vendor = MOZ_APP_VENDOR,
releaseChannel = MOZ_UPDATE_CHANNEL)
services.add(socorroService)
val intent = Intent(context, HomeActivity::class.java).apply {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment