[fenix] No Issue - Fixes startup crash in nightly

pull/600/head
Jeff Boek 6 years ago
parent 2c9c293c9d
commit 88a4f42a70

@ -11,7 +11,6 @@ import mozilla.components.lib.crash.service.MozillaSocorroService
import mozilla.components.lib.crash.service.SentryService import mozilla.components.lib.crash.service.SentryService
import org.mozilla.fenix.BuildConfig import org.mozilla.fenix.BuildConfig
import org.mozilla.fenix.R import org.mozilla.fenix.R
import org.mozilla.fenix.components.metrics.AdjustMetricsService
import org.mozilla.fenix.components.metrics.GleanMetricsService import org.mozilla.fenix.components.metrics.GleanMetricsService
import org.mozilla.fenix.components.metrics.LeanplumMetricsService import org.mozilla.fenix.components.metrics.LeanplumMetricsService
import org.mozilla.fenix.components.metrics.Metrics import org.mozilla.fenix.components.metrics.Metrics
@ -50,8 +49,7 @@ class Analytics(
Metrics( Metrics(
listOf( listOf(
GleanMetricsService(context), GleanMetricsService(context),
LeanplumMetricsService(context as Application), LeanplumMetricsService(context as Application)
AdjustMetricsService(context)
), ),
isTelemetryEnabled = { Settings.getInstance(context).isTelemetryEnabled } isTelemetryEnabled = { Settings.getInstance(context).isTelemetryEnabled }
) )

Loading…
Cancel
Save