Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fenix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
The Tor Project
Applications
fenix
Commits
ce12d399
Unverified
Commit
ce12d399
authored
Aug 3, 2021
by
Matthew Finkel
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40185: Use NimbusDisabled
parent
b0afc737
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!141
Rebase Fenix patches to Fenix 94.1.1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/org/mozilla/fenix/components/Analytics.kt
+6
-1
6 additions, 1 deletion
app/src/main/java/org/mozilla/fenix/components/Analytics.kt
with
6 additions
and
1 deletion
app/src/main/java/org/mozilla/fenix/components/Analytics.kt
+
6
−
1
View file @
ce12d399
...
...
@@ -14,6 +14,7 @@ import mozilla.components.lib.crash.service.GleanCrashReporterService
import
mozilla.components.lib.crash.service.MozillaSocorroService
import
mozilla.components.lib.crash.service.SentryService
import
mozilla.components.service.nimbus.NimbusApi
import
mozilla.components.service.nimbus.NimbusDisabled
import
org.mozilla.fenix.BuildConfig
import
org.mozilla.fenix.Config
import
org.mozilla.fenix.HomeActivity
...
...
@@ -102,8 +103,12 @@ class Analytics(
}
val
experiments
:
NimbusApi
by
lazyMonitored
{
if
(
BuildConfig
.
DATA_COLLECTION_DISABLED
)
{
NimbusDisabled
()
}
else
{
createNimbus
(
context
,
BuildConfig
.
NIMBUS_ENDPOINT
)
}
}
val
features
:
NimbusFeatures
by
lazyMonitored
{
NimbusFeatures
(
context
)
...
...
This diff is collapsed.
Click to expand it.
aguestuser
@aguestuser
mentioned in issue
#40205 (closed)
·
Jan 26, 2022
mentioned in issue
#40205 (closed)
mentioned in issue #40205
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment