No Issue - Fixes startup crash in nightly
parent
3f86764a3a
commit
7cbf73fa8c
|
@ -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…
Reference in New Issue