Commit Graph

392 Commits (9654b4dfb122b54b04369fe80a2f9c95811478e8)

Author SHA1 Message Date
Gabriel Luong 9654b4dfb1 For #27667 - Remove import-ordering from the list of disabled ktlint rules 2 years ago
kycn dda6719c32 Close #7227: Re-enable storage maintenance call.
Re-enable storage maintenance call by introducing WorkManager worker on A-C side and consuming it from Fenix.
The work request is periodic and the repeat interval is 24h. It requires the device to be idle and not to have
low battery. This feature is available only for Nightly for now.
2 years ago
Noah Bond 79f0ce4cd3 For #27331 - Add migration for Turning Red wallpaper card colors 2 years ago
Mugurell 50c8e56bd2 For #27627 - Check the TCP CFR status lazily
Use lazyFeatureFlagPreference as a quick small way to avoid a race between
initializing the value and the Nimbus initialization based on which the value
should be calculated.
This is the same flow that the other MR experiments use.
2 years ago
Roger Yang 35e0afe329 Close #24613: Remove history improvement feature flag 2 years ago
mcarare 6913cd59c9 For #27541: Update AndroidX Annotation to latest version.
Add AndroidX Annotation as a direct dependency to app build.gradle.
Update imports for annotations moved to Companion Object.
2 years ago
Noah Bond 165a516c38 For #27330 - Cache selected wallpaper card colors 2 years ago
Noah Bond 3207e6213e For #27095 - Download light/dark wallpaper card colors 2 years ago
Mugurell c3a3cae99b For #27172 - Enable the sync onboarding cfr in all releases 2 years ago
Mugurell 6c2609ad58 For #27111 - Allow TCP in all releases. Control it from Nimbus.
After this change the TCP feature (and CFR) are enabled by default.
Rollout can be controlled through Nimbus.
2 years ago
MatthewTighe 5c9a713512 For #27111: disable TCP in beta and release 2 years ago
Mugurell 7b5ba840ab For #26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2 years ago
Alexandru2909 817827997f For #26424 - Create wallpaper file migration helper 2 years ago
mike a 65bee4bb27 Closes #26750: add Wallpapers Onboarding dialog 2 years ago
Mugurell 93615438fc For #26910: Enable TCP for all modes
Unify the TCP feature with the TCP setting allowing both to be controlled
through the same Nimbus experiment.
Allow changing the default cookie policy to TCP based on the Nimbus experiment.
2 years ago
Christian Sadilek a4692a67f0 Revert "Closes #26750: add Wallpapers Onboarding dialog"
This reverts commit 05b95b6a97.
2 years ago
mike a 05b95b6a97 Closes #26750: add Wallpapers Onboarding dialog 2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Arturo Mejia fd96263345 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2 years ago
Arturo Mejia 5358e9b878 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2 years ago
Arturo Mejia 49bef5d309 Closes #26858: Remove unused nimbus engine-settings total-cookie-protection-enabled feature. 2 years ago
sarah541 bd06b626bf For #26867 - Remove feature flag for first run onboarding updates 2 years ago
Ben Dean-Kawamura fb0ebe4eec Added secret debug menu to override the push server URL (#24170)
- Created a new "sync debug" pref screen to hold the Fxa, Sync, and Push
  server override prefs.  They were taking a lot of screen space on the
  top-level settings menu as individual items
- Added button on that screen to quit FF which is needed to apply the
  changes.
    - This is definitely not the nicest UI, but hopefully QA can just
      override the prefs once save them in an emulator and never have to
      go back to this screen.
    - I do think this is a nicer UI than before, where FF would quit
      after a change to any of the prefs.  That forces you to restart FF
      3 times if you wanted to override all 3 server URLs.
2 years ago
Alexandru2909 070bf5ac24 For #26706 - Change TopSite.containsQueryParameters as Uri extension function 2 years ago
MatthewTighe 853778e29a For #26511: load homescreen wallpaper in blocking coroutine 2 years ago
Gabriel Luong 9a64acd4b6 For #26169 - MR Home Onboarding Dialog for upgrading users 2 years ago
Mugurell f4b823b43b For #26224 - Use the mr2022.sectionsEnabled.tcp-cfr Nimbus feature to display the cfr 2 years ago
Mugurell 4286606d8f For #26224 - New TCP CFR popup
If Total Cookie Protection is enabled when first accessing a normal tab
(not a custom tab) a new Contextual Feature Recommendation popup will be shown
informing about the added protection and allowing the user to open a support
page with more data about the new option for privacy protection.
2 years ago
Mugurell bf23a2a6b9 For #18175 - Add a new total protection ETP cookies policy
This should only add the new option in settings based on a Nimbus experiment.
2 years ago
Gabriel Luong da677dd650 For #26620 - Replace the onboarding nimbus feature with MR2022 nimbus feature 2 years ago
MatthewTighe 299f887953 Add updated wallpaper use cases and activate them with feature flag. 2 years ago
Gabriel Luong 6a7f9075ad For #26549 - Add Nimbus feature flag for first run onboarding page updates and Jump back in CFR 2 years ago
Gabriel Luong 5f2ebf8125 For #26528 - Add a nimbus feature flag for MR Home Onboarding Dialog 2 years ago
Alexandru2909 0c6cf5f6a8 For #26335: Enable sponsored shortcuts by default 2 years ago
Jonathan Almeida 94ff169a30 Close #26495: Move Huawei checks to ManufacturerCodes 2 years ago
sunilk9211 db47f4182d For #25985: Remove ability to click the logo to change the wallpaper 2 years ago
Mugurell f96f8465ad For #26414 - Have the Pocket spocs feature as part of the homescreen sections experiments 2 years ago
mike a 9baf0db8db Closes #26446: add wallpaper oboarding Nimbus flag 2 years ago
Gabriel Luong a98868d791 For #26412 - Remove try catch for NimbusFeatureException from FxNimbus value() getter 2 years ago
sarah541 bbb602a2fd For #26308 - Add feature flag for MR onboarding 2 years ago
Charlie Humphreys b33abbbec2 change name for isFirstRun to isFirstNimbusRun and move setter to after experiments are set 2 years ago
Charlie Humphreys 1ce99506ad update isFirstRun to be manually set and set experiments locally on first run 2 years ago
MatthewTighe 72959901d8 Fixes #26245: refactor the WallpaperManager as several WallpaperUseCases 2 years ago
Jonathan Almeida f03ee91ecb Close #26041: Re-set TrackingProtectionPolicy after Nimbus SDK is initialized
There are three issues here that we have uncovered while investigating
this bug:

 1. Settings.kt has a lazy block around `enabledTotalCookieProtection`
    which ends up caching the first result it evaluates.
 3. The `FeatureHolder` within FxNimbus caches the incorrectly
    evaluated value and returns this value hence forth.
 4. Nimbus is not ready to return a result for an engine experiment
    when we need it early on in the dependency tree initialization.

There are multiple systems that require engine to be initialized for
 them to work (e.g. Glean, Profiler, concept-fetch). In our TCP,
 experiment, we need to apply these engine settings during the engine
 initialization. So when we try and evaluate Nimbus that early on, it
 has not had time to initialize itself correctly or even use the
 engine's concept-fetch client to return the correct experiment result.
 This bug is made worse because of the first two caching bugs where we
 are always holding onto a cached value of the wrong result.

Our temporary solution is to:

 1. Remove the `lazy` around `Settings.enabledTotalCookieProtection`.
 2. Set the `FxNimbus.api` value right after we are done initializing
    `FxNimbus` and `NimbusApi` so that all future queries to FxNimbus
    will be made against a real instance of `NimbusApi`. This is a
    short-term fix for the `FeatureHolder` caching bug.
 3. Set a new TrackingProtectionPolicy that will evaluate Nimbus now
    that it is in the correct state when receive the
    `NimbusInterface.Observer.onUpdatesApplied`.

Co-authored-by: jhugman <jhugman@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2 years ago
Noah Bond db0162465b For #26289 - Remove search term tab groups metrics and setting 2 years ago
Gabriel Luong bfd0eb7306 For #26113 ⁃ Enable address autofill in all channels 2 years ago
Arturo Mejia 261569c2c5 For #25915: Remove the hard coded default browser message 2 years ago
Gabriel Luong 80524cd6ab For #25935 - Catch NimbusFeatureException from calling FxNimbus value getter 2 years ago
Gabriel Luong 1207180aa8 For #25933 - Ensure sponsored tiles are enable if enrolled in active experiment 2 years ago
Arturo Mejia 8c752c3be1 For #25736: Add experiment for Total cookie protection. 2 years ago