Commit Graph

584 Commits (a356b4b2c4feb052ed9ffae4fbb5d7917c882159)

Author SHA1 Message Date
Sawyer Blatz a356b4b2c4
For #9136: Send all adjust properties to glean (#9253) 4 years ago
Sawyer Blatz b9059c8208
For #9256: Attempts to fix installation ping not being sent (#9254) 4 years ago
Grisha Kruglov eb14532c3c Closes #7450: Lazy storage initialization
Make sure that we actually lazily initialize our storage layers.

With this patch applied, storage layers (history, logins, bookmarks) will be initialized when first
accessed. We will no longer block GeckoEngine init, for example, on waiting for the logins storage
to initialize (which needs to access the costly securePrefStorage).
Similarly, BackgroundServices init will no longer require initialized instances of the storage
components - references to their "lazy wrappers" will suffice.

In practice, this change changes when our storage layers are initialized in the following ways.
Currently, we will initialize everything on startup. This includes loading our megazord, as well.

With this change, init path depends on if the user is signed-into FxA or not.

If user is not an FxA user:
- on startup, none of the storage layers are initialized
- history storage will be initialized once, whenever:
  - first non-customTab page is loaded (access to the HistoryDelegate)
  - first interaction with the awesomebar
  - history UI is accessed
- bookmarks storage will be initialized once, whenever:
  - something is bookmarked, or we need to figure out if something's bookmarked
  - bookmarks UI is accessed
- logins storage will be initialized once, whenever:
  - first page is loaded with a login/password fields that can be autofilled
  - (or some other interaction by GV with the autofill/loginStorage delegates)
  - logins UI is accessed
- all of these storages will be initialized if the user logs into FxA and starts syncing data
  - except, if a storage is not chosen to be synced, it will not be initialized

If user is an FxA user:
- on startup, none of the storage layers are initialized
- sometime shortly after startup is complete, when a sync worker runs in the background, all storage
layers that are enabled to sync will be initialized.

This change also means that we delay loading the megazord until first access (as described above).
4 years ago
Arturo Mejia 823eea44ed No issue: Add serverConfig param to FxaWebChannelFeature 4 years ago
mcarare 4425e7139e For #9200: Remove star icon from empty state icon in toolbar 4 years ago
mcarare 772c7062fd For #8814: Change icon asset for top sites menu option 4 years ago
Edouard Oger a1ea94fe76 Prepare for a-c a-s upgrade 4 years ago
Sebastian Kaspari 34144fd254 Use pinned Android Components Nightly version instead of snapshots. 4 years ago
Sawyer Blatz cc8f34b68b
For #8773: Fixes issue with snackbar placement on ContextMenu (#8942) 4 years ago
Roger Yang 9a582a6983
Closes #9104: Pass release channel information to Socorro service (#9130) 4 years ago
Mihai Branescu 485efacd33 For #8800 - dismiss all highlights when menu is closed 4 years ago
Severin Rudie 1381444a52 For #8800: clear menu highlights on use 4 years ago
mcarare 2ffbecaefa For #8474 Reorganize browser menu items 4 years ago
Arturo Mejia ce4293c8c8 For issue #8908 Notify users when previously unsupported add-ons
become available
4 years ago
Sawyer Blatz 3548e58c00
For #7158: Improves browser to search animation (#8961) 4 years ago
Jim Porter ec98fd948b For #7847: Improve startup performance of the Fenix wrapper around Glean 4 years ago
Jonathan Almeida 4ccda4d495 Log push crashes to CrashReporter 4 years ago
Jonathan Almeida 4bbf87d272 Closes #6730: Lazily initialize account manager on new push message 4 years ago
Grisha Kruglov e6e2dd94c7 Closes #7344: Login storage refactor
The a-c side of this work is in https://github.com/mozilla-mobile/android-components/pull/6128

This switches Fenix to use `SyncableLoginsStorage`, which caches a connection internally
on first access, and doesn't expose any lock/unlock APIs at the public boundary.
4 years ago
Christian Sadilek 20387401b1 Issue #7863: Ensure parent process triggers speculative connect 4 years ago
Sawyer Blatz f20fb50481 For #5346 & For #8859: Fixes textSize & animation on TabCounter 4 years ago
Andrew Gaul 4ab4733f34 Do not scroll menu when toolbar is on top
Fixes #8838.
4 years ago
Harshal Lele e318cd7d15 fix #8135 - remove getColorFromAttr 4 years ago
Sawyer Blatz 8e06933e8d For #167: Adds browser -> home animation 4 years ago
Mihai Adrian e3d34edfc7
For #8873 - Update snackbar padding for adding top sites 4 years ago
Sawyer Blatz e96732604b For #167: Improves home to browser animation 4 years ago
ekager a6b07afa95 No issue: Fix LeakCanary detected memory leaks
Co-authored-by: Emily Kager <emilykager@gmail.com>
Co-authored-by: Pierre-Yves Ricau <py@squareup.com>
4 years ago
Sebastian Kaspari 83f94cacb5 FennecWebAppIntentProcessor: Handle manifest file not existing. 4 years ago
mcarare 5a6fc02976 For #8773: Set proper anchor and padding for Snackbars on browser screen 4 years ago
David Walsh 0187669790 Match account problem styling between HomeMenu and BrowserMenu 4 years ago
Sebastian Kaspari d89fbd7af8 FenixSearchEngineProvider: Use dummy location service in debug builds.
Workaround for issue described in:
https://github.com/mozilla-mobile/android-components/issues/5989

For debug builds it is unnecessary to use the actual location provider since those builds
do not have an API key configured. With that patch we replace the location provider with
a dummy implementation in debug builds.
4 years ago
Will Hawkins f9b716286a For #8034: Create a post-visual completeness executor
Create an object that will execute its enqued tasks
when Fenix is visually complete.
4 years ago
Mihai Adrian 9612c3f16d
For #8540: Fix ETP options not being correctly applied (#8688) 4 years ago
David Walsh e2b72a9c01 For #8505 - Update tab icon 4 years ago
ekager 7f34204188 For #5843 - Ensure tabs pending deletion are removed 4 years ago
MarcLeclair 41f9311e20
For #7448: Move LP to IO dispatcher (#8558) 4 years ago
Arturo Mejia 959e438ff3
Initializes GlobalAddonDependencyProvider 4 years ago
Severin Rudie 69c6de7cd4
For #8411: integrate AC permissions changes (#8618) 4 years ago
Jeff Boek 541bcf072a Reverts all BrowsingModeManager changes 4 years ago
Sawyer Blatz d918cfdf38 For #1901: Screenshot engineView to remove GV flash
Co-authored-by: ekager <ekager@mozilla.com>
4 years ago
Dennis Schubert be06450dd9 Bug 1613416 - Hide "Report site issue" button in Fenix Production. 4 years ago
Jeff Boek f050db517c For #8552 - Fixes bug where "installing/uninstalling" was using the old pref key 4 years ago
Sebastian Kaspari d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 4 years ago
Jeff Boek 020608275d For #6981 - Fixes tests to support locale aware changes 4 years ago
Jeff Boek 1ba64f9559 For #6981 #6907 - Properly reloads search engines when locale changes 4 years ago
Mihai Adrian e8913474a0
For #8268 - Update added to top sites snackbar text (#8435) 4 years ago
ekager f52f87f6a4 For #8324 - Only use encrypted storage for Nightly/Debug populations 4 years ago
Jeff Boek a8746320d7 For #3869 - Uses RegionSearchLocalizationProvider in the search engine provider 4 years ago
mcarare bba563b5f9 For #6479: Add granular ETP settings 4 years ago
Jeff Boek 7aeb5f072d For #7295 - Adds more documentation for the installation metrics 4 years ago