From b9059c8208299bde73983db736fe39e8fe38c8ec Mon Sep 17 00:00:00 2001 From: Sawyer Blatz Date: Thu, 19 Mar 2020 16:22:28 -0700 Subject: [PATCH] For #9256: Attempts to fix installation ping not being sent (#9254) --- .../mozilla/fenix/components/metrics/GleanMetricsService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt b/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt index 4e112bee8..e085490e7 100644 --- a/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt +++ b/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt @@ -508,6 +508,7 @@ class GleanMetricsService(private val context: Context) : MetricsService { private var initialized = false private val activationPing = ActivationPing(context) + private val installationPing = InstallationPing(context) override fun start() { logger.debug("Enabling Glean.") @@ -567,7 +568,7 @@ class GleanMetricsService(private val context: Context) : MetricsService { } activationPing.checkAndSend() - InstallationPing(context).checkAndSend() + installationPing.checkAndSend() } override fun stop() {