Commit Graph

308 Commits

Author SHA1 Message Date
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.
2022-10-25 19:15:08 +00:00
Noah Bond
165a516c38 For #27330 - Cache selected wallpaper card colors 2022-10-11 17:41:04 +00:00
Noah Bond
3207e6213e For #27095 - Download light/dark wallpaper card colors 2022-10-10 20:41:44 +00:00
Mugurell
c3a3cae99b For #27172 - Enable the sync onboarding cfr in all releases 2022-09-27 12:13:23 +00:00
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.
2022-09-27 11:43:18 +00:00
MatthewTighe
5c9a713512 For #27111: disable TCP in beta and release 2022-09-26 06:54:08 +00:00
Mugurell
7b5ba840ab For #26644 - Apply the wallpaper provided text color to the Fenix logo
And to the private mode switcher.
2022-09-21 13:03:55 +00:00
Alexandru2909
817827997f For #26424 - Create wallpaper file migration helper 2022-09-15 03:19:02 +00:00
mike a
65bee4bb27 Closes #26750: add Wallpapers Onboarding dialog 2022-09-12 23:21:25 +00:00
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.
2022-09-12 22:54:30 +00:00
Christian Sadilek
a4692a67f0 Revert "Closes #26750: add Wallpapers Onboarding dialog"
This reverts commit 05b95b6a97.
2022-09-11 13:25:28 -04:00
mike a
05b95b6a97 Closes #26750: add Wallpapers Onboarding dialog 2022-09-09 23:30:31 +00:00
Arturo Mejia
fd96263345 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2022-09-08 10:41:18 -04:00
Arturo Mejia
5358e9b878 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2022-09-08 10:41:18 -04:00
Arturo Mejia
49bef5d309 Closes #26858: Remove unused nimbus engine-settings total-cookie-protection-enabled feature. 2022-09-08 10:41:18 -04:00
sarah541
bd06b626bf For #26867 - Remove feature flag for first run onboarding updates 2022-09-07 21:44:33 +00:00
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.
2022-09-02 18:46:58 +00:00
Alexandru2909
070bf5ac24 For #26706 - Change TopSite.containsQueryParameters as Uri extension function 2022-08-31 13:03:38 +00:00
MatthewTighe
853778e29a For #26511: load homescreen wallpaper in blocking coroutine 2022-08-29 17:33:13 +00:00
Gabriel Luong
9a64acd4b6 For #26169 - MR Home Onboarding Dialog for upgrading users 2022-08-25 18:22:35 +00:00
Mugurell
f4b823b43b For #26224 - Use the mr2022.sectionsEnabled.tcp-cfr Nimbus feature to display the cfr 2022-08-25 12:30:10 +00:00
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.
2022-08-25 12:30:10 +00:00
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.
2022-08-25 10:05:11 +00:00
Gabriel Luong
da677dd650 For #26620 - Replace the onboarding nimbus feature with MR2022 nimbus feature 2022-08-24 19:46:18 +00:00
MatthewTighe
299f887953 Add updated wallpaper use cases and activate them with feature flag. 2022-08-22 23:07:14 +00:00
Gabriel Luong
6a7f9075ad For #26549 - Add Nimbus feature flag for first run onboarding page updates and Jump back in CFR 2022-08-19 19:06:34 +00:00
Gabriel Luong
5f2ebf8125 For #26528 - Add a nimbus feature flag for MR Home Onboarding Dialog 2022-08-18 21:30:37 +00:00
Alexandru2909
0c6cf5f6a8 For #26335: Enable sponsored shortcuts by default 2022-08-17 12:57:40 -04:00
sunilk9211
db47f4182d For #25985: Remove ability to click the logo to change the wallpaper 2022-08-16 19:11:39 +00:00
Mugurell
f96f8465ad For #26414 - Have the Pocket spocs feature as part of the homescreen sections experiments 2022-08-16 14:35:35 +00:00
mike a
9baf0db8db Closes #26446: add wallpaper oboarding Nimbus flag 2022-08-15 23:21:25 +00:00
Gabriel Luong
a98868d791 For #26412 - Remove try catch for NimbusFeatureException from FxNimbus value() getter 2022-08-12 16:05:23 +00:00
sarah541
bbb602a2fd For #26308 - Add feature flag for MR onboarding 2022-08-12 15:01:33 +00:00
Charlie Humphreys
b33abbbec2 change name for isFirstRun to isFirstNimbusRun and move setter to after experiments are set 2022-08-12 00:24:28 +00:00
Charlie Humphreys
1ce99506ad update isFirstRun to be manually set and set experiments locally on first run 2022-08-12 00:24:28 +00:00
MatthewTighe
72959901d8 Fixes #26245: refactor the WallpaperManager as several WallpaperUseCases 2022-08-11 14:56:49 +00:00
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>
2022-08-09 19:33:00 +00:00
Noah Bond
db0162465b For #26289 - Remove search term tab groups metrics and setting 2022-08-08 18:16:33 +00:00
Gabriel Luong
bfd0eb7306 For #26113 ⁃ Enable address autofill in all channels 2022-07-20 20:31:51 +00:00
Arturo Mejia
261569c2c5 For #25915: Remove the hard coded default browser message 2022-07-07 22:16:25 +00:00
Gabriel Luong
80524cd6ab For #25935 - Catch NimbusFeatureException from calling FxNimbus value getter 2022-07-07 21:14:07 +00:00
Gabriel Luong
1207180aa8 For #25933 - Ensure sponsored tiles are enable if enrolled in active experiment 2022-07-07 19:28:33 +00:00
Arturo Mejia
8c752c3be1 For #25736: Add experiment for Total cookie protection. 2022-07-05 19:07:05 +00:00
rxu
f7826c41bf Disable marketing telemetry until privacy pop window approved in Mozillaonline builds 2022-07-05 08:04:47 +00:00
Alexandru2909
4d430adbbe For #25764 - Prevent sponsored shortcut URLs from appearing as frecent shortcuts 2022-06-29 20:14:35 +00:00
Gabriel Luong
83e19be385 For #24967 - Enable address autofill for Nightly and Debug 2022-06-28 23:14:16 +00:00
Mugurell
df5786f1e3 For #25381 - Add a setting allowing to toggle Pocket sponsored stories 2022-06-10 15:01:35 +00:00
MatthewTighe
07d4a8599d fixes #25386: turn task continuity on by default for nightly 2022-05-27 22:18:40 +00:00
Mugurell
849d922038 For #25352 - Add a new FML feature to gate Pocket sponsored stories 2022-05-27 18:16:22 +00:00
Mugurell
2343b7534c For #25311 - Set tokens used when communicating with Pocket 2022-05-25 15:53:24 +00:00