From 15ff4726a0a90d7be7a89f60e706d543b969ab99 Mon Sep 17 00:00:00 2001 From: Emma Malysz Date: Wed, 12 Feb 2020 12:29:40 -0800 Subject: [PATCH] For #8056: remove Experiments.initialize from FenixApplication Experiments will not be used before GA and are thus being removed for performance wins. --- .../main/java/org/mozilla/fenix/FenixApplication.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/FenixApplication.kt b/app/src/main/java/org/mozilla/fenix/FenixApplication.kt index 1cca1f39b..cea52f9d8 100644 --- a/app/src/main/java/org/mozilla/fenix/FenixApplication.kt +++ b/app/src/main/java/org/mozilla/fenix/FenixApplication.kt @@ -20,7 +20,6 @@ import kotlinx.coroutines.runBlocking import mozilla.appservices.Megazord import mozilla.components.browser.session.Session import mozilla.components.concept.push.PushProcessor -import mozilla.components.service.experiments.Experiments import mozilla.components.service.glean.Glean import mozilla.components.service.glean.config.Configuration import mozilla.components.service.glean.net.ConceptFetchHttpUploader @@ -108,16 +107,6 @@ open class FenixApplication : LocaleAwareApplication() { enableStrictMode() warmBrowsersCache() - // Enable the service-experiments component - if (settings().isExperimentationEnabled && Config.channel.isReleaseOrBeta) { - Experiments.initialize( - applicationContext, - mozilla.components.service.experiments.Configuration( - httpClient = lazy(LazyThreadSafetyMode.NONE) { components.core.client } - ) - ) - } - // Make sure the engine is initialized and ready to use. components.core.engine.warmUp()