1
0
Fork 0

For #8056: remove Experiments.initialize from FenixApplication

Experiments will not be used before GA and are thus being removed
for performance wins.
master
Emma Malysz 2020-02-12 12:29:40 -08:00 committed by Emma Malysz
parent ba8867c1a9
commit 15ff4726a0
1 changed files with 0 additions and 11 deletions

View File

@ -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()