Commit Graph

333 Commits (a4d569db3467a3c6264e6022d3ce87093eea0cf3)

Author SHA1 Message Date
MickeyMoz 7c80c364bb [fenix] Update Android Components version to 39.0.20200417130058. 4 years ago
MickeyMoz b8eb4f1054 [fenix] Update Android Components version to 39.0.20200416130123. 4 years ago
Michael Comella de6bbb791a [fenix] For https://github.com/mozilla-mobile/fenix/issues/9644: restrict deps to specific repositories (https://github.com/mozilla-mobile/fenix/pull/9649)
* For https://github.com/mozilla-mobile/fenix/issues/9644: remove unnecessary leanplum maven repository.

The docs say it is [1] "only needed for Android SDK versions below 4.3.0".
That is API 18 and our min SDK is 21.

[1]: https://docs.leanplum.com/reference#android-setup

* For https://github.com/mozilla-mobile/fenix/issues/9644: move buildscript block from :app to root project.

This will reduce the amount of duplication we need in specifying
restricted dependencies and centralize repository definitions. Since
we're a one project app, it shouldn't have a significant impact on
performance.

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict dependencies following FFTV config.

However, there is a resolution error to be fixed in the next commit.

This is verbatim from FFTV except I removed the no-op "improve security
if code is refactored incorrectly" lines: these lines rarely changed and
I'm not that concerned. It might be better to simplify the
configuration.

Source:
  62a2fa680c/buildSrc/src/main/java/org/mozilla/gradle/Dependencies.kt (L7)
  62a2fa680c/build.gradle (L31)

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict firebase deps to google repo.

This fixes the resolution error from the previous PR.
4 years ago
MickeyMoz 7a9dfa693c [fenix] Update Android Components version to 39.0.20200415130046. 4 years ago
Arturo Mejia e5041e2fd8 [fenix] Update Android Components version 4 years ago
MickeyMoz e75cf1a5b6 [fenix] Update Android Components version to 39.0.20200413130047. 4 years ago
MickeyMoz 420bdadf33 [fenix] Update Android Components version to 39.0.20200412130044. 4 years ago
Mickey Moz 3158e534a2 [fenix] Update Android Components version to 39.0.20200410130104. (https://github.com/mozilla-mobile/fenix/pull/9852) 4 years ago
MickeyMoz 2981adfb4b [fenix] Update Android Components version to 39.0.20200409130114. 4 years ago
ekager 9ca3ce6589 [fenix] No issue: Update androidx appcompat to 1.2.0-beta01 4 years ago
MickeyMoz ee7ef93b0c [fenix] Update Android Components version to 39.0.20200408130125. 4 years ago
Christian Sadilek 6c022d5376 [fenix] Upgrade to Android Components 38.0.20200407190120 4 years ago
MickeyMoz 6935516ce7 [fenix] Update Android Components version to 38.0.20200407130106. 4 years ago
Michael Comella 18a639a64d [fenix] For https://github.com/mozilla-mobile/fenix/issues/9631: remove assertk dependency. 4 years ago
Jeff Boek 4371996382 [fenix] For https://github.com/mozilla-mobile/fenix/issues/220 - Removes feature flag for language picker (https://github.com/mozilla-mobile/fenix/pull/9191)
* For https://github.com/mozilla-mobile/fenix/issues/220 - Removes feature flag for language picker

* For https://github.com/mozilla-mobile/fenix/issues/220 - Updates Android Components
4 years ago
MickeyMoz f534fdb690 [fenix] Update Android Components version to 38.0.20200406130135. 4 years ago
MickeyMoz 6b642c9c92 [fenix] Update Android Components version to 38.0.20200405130126. 4 years ago
Michael Comella ebaa5bcbd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9605 - review: lintUnitTestRunner depends on compile.
See added comments for explanation.
4 years ago
Michael Comella 74fbc518db [fenix] For https://github.com/mozilla-mobile/fenix/issues/9605: Add LintUnitTestRunner gradle task.
This will prevent us from regressing on adding older versions of the
unit test runner.
4 years ago
MickeyMoz 0487e0ad62 [fenix] Update Android Components version to 38.0.20200403130109. 4 years ago
Michael Comella b8d04bf32d [fenix] No issue: upgrade test deps to 1.3.0-alpha05.
ReaderViewTest failed on the 1.2.0 stable release so I'm upgrading to a
newer version (of which only alpha is available) to see if it's fixed.
4 years ago
Michael Comella 6556c69384 [fenix] No issue: pin androidx test dependencies; add note.
I removed the version constant indirection for these items because I found it
challenging:
- it makes it harder to quickly identify which versions are in use
because it requires jumping to a new screen for each dependency
- it increases the length of the file, obscuring what's available
4 years ago
MickeyMoz 235efb8a55 [fenix] Update Android Components version to 38.0.20200402130113. 4 years ago
Michael Comella aba1c4cb5a [fenix] No issue: remove assertJ.
It was only used for 3 checks so it's not worth having a dependency on
it.
4 years ago
MickeyMoz e6357ddec5 [fenix] Update Android Components version to 38.0.20200401130040. 4 years ago
Emily Kager 522aca44f4 [fenix] Upgrade to detekt 1.6.0 (https://github.com/mozilla-mobile/fenix/pull/9306)
Changelog:

https://arturbosch.github.io/detekt/changelog.html

Fixes https://github.com/mozilla-mobile/fenix/issues/7360.  Also use more exact test glob.

Co-authored-by: Andrew Gaul <andrew@gaul.org>
4 years ago
ValentinTimisica 7d57c791f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8412: Passes error handling function to 'CustomTabWindowFeature' (https://github.com/mozilla-mobile/fenix/pull/8903)
* For https://github.com/mozilla-mobile/fenix/issues/8412: Passes error handling function to 'CustomTabWindowFeature'

Change required for showing error message when the app can't handle a specific
scheme. Implemented in AC:
https://github.com/mozilla-mobile/android-components/pull/6122

* Upgrade AC version

Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
4 years ago
MickeyMoz 1e13abed10 [fenix] Update Android Components version to 38.0.20200329190103. 4 years ago
Sebastian Kaspari de3dda8af1 [fenix] Update to new feature-media API. 4 years ago
Sebastian Kaspari adb8f436d3 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/5208: Use new tab/collection restore API. 4 years ago
MickeyMoz 6779811280 [fenix] Update Android Components version to 38.0.20200326130056. 4 years ago
Elise Richards 1c383cb15d [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9290: Update AppCompat to latest version. 4 years ago
MickeyMoz 20fe8e3c9b [fenix] Update Android Components version to 38.0.20200325130041. 4 years ago
mcarare 62e02db5cb [fenix] Update AC Version 4 years ago
MickeyMoz 3f11241a54 [fenix] Update Android Components version to 37.0.20200322190046. 4 years ago
MickeyMoz 2e33d4331e [fenix] Update Android Components version to 37.0.20200322130043. 4 years ago
MickeyMoz 81986845d0 [fenix] Update Android Components version to 37.0.20200319190049. 4 years ago
Grisha Kruglov 51a31a42ba [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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
MickeyMoz 394e1635c1 [fenix] Update Android Components version to 37.0.20200318190037. 4 years ago
Arturo Mejia 51c24af724 [fenix] Update Android Components version 4 years ago
Sawyer Blatz efaf85ca4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/3086: Adds settings animations (https://github.com/mozilla-mobile/fenix/pull/9187) 4 years ago
MickeyMoz 01872d313f [fenix] Update Android Components version to 37.0.20200317130045. 4 years ago
Sebastian Kaspari 4169924754 [fenix] Use pinned Android Components Nightly version instead of snapshots. 4 years ago
Christian Sadilek cb9a67d6bd [fenix] Update to AC 37.0.0-SNAPSHOT 4 years ago
mcarare d8cba93d1b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8788 Use Flexbox instead of Grid manager for top sites 4 years ago
Christian Sadilek 590a684c0d [fenix] Update to AC 36.0.0-SNAPSHOT 4 years ago
ekager 0746789e78 [fenix] No issue: Update androidx testing 4 years ago
Michael Droettboom b30f9b1970 [fenix] 1592947: Use the Glean Gradle plugin 4 years ago
Arturo Mejia 2660aee561 [fenix] No issue: Update to AC 35.0.0-SNAPSHOT 4 years ago
Grisha Kruglov 32802e7fc8 [fenix] Remove direct A-S dependency; switch to using 'full' megazord
As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).

Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
4 years ago