Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gaba
fenix
Commits
c5034fa7
Commit
c5034fa7
authored
Jun 25, 2020
by
Sawyer Blatz
Committed by
Mihai Adrian Carare
Jun 26, 2020
Browse files
No issue: Allow us to run experiments on nightly if needed
parent
0626384b
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/org/mozilla/fenix/FenixApplication.kt
View file @
c5034fa7
...
...
@@ -37,8 +37,10 @@ import mozilla.components.support.rusthttp.RustHttpConfig
import
mozilla.components.support.rustlog.RustLog
import
mozilla.components.support.utils.logElapsedTime
import
mozilla.components.support.webextensions.WebExtensionSupport
import
org.mozilla.fenix.StrictModeManager.enableStrictMode
import
org.mozilla.fenix.components.Components
import
org.mozilla.fenix.components.metrics.MetricServiceType
import
org.mozilla.fenix.ext.resetPoliciesAfter
import
org.mozilla.fenix.ext.settings
import
org.mozilla.fenix.perf.StartupTimeline
import
org.mozilla.fenix.push.PushFxaIntegration
...
...
@@ -47,8 +49,6 @@ import org.mozilla.fenix.session.PerformanceActivityLifecycleCallbacks
import
org.mozilla.fenix.session.VisibilityLifecycleCallback
import
org.mozilla.fenix.utils.BrowsersCache
import
org.mozilla.fenix.utils.Settings
import
org.mozilla.fenix.StrictModeManager.enableStrictMode
import
org.mozilla.fenix.ext.resetPoliciesAfter
/**
*The main application class for Fenix. Records data to measure initialization performance.
...
...
@@ -169,7 +169,7 @@ open class FenixApplication : LocaleAwareApplication() {
// Enable the service-experiments component to be initialized after visual completeness
// for performance wins.
if
(
settings
().
isExperimentationEnabled
&&
Config
.
channel
.
isReleaseOrBeta
)
{
if
(
settings
().
isExperimentationEnabled
)
{
taskQueue
.
runIfReadyOrQueue
{
Experiments
.
initialize
(
applicationContext
=
applicationContext
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment