Commit Graph

538 Commits (23ff2851e6227edc481b1f9dd044b09ca5678f4c)

Author SHA1 Message Date
Kainalu Hagiwara a6a8c4dc08 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3481 - Implement swipe on toolbar to switch tabs. 4 years ago
Jonathan Almeida 1df7dce5d0 [fenix] Update to Android Components 52.0.20200722023149
Fixes breaking APIs in SyncedTabsFeature and
BookmarksStorageSuggestionProvider
4 years ago
MickeyMoz cd463bdf76 [fenix] Update Android Components version to 51.0.20200721130108. 4 years ago
liuche 8932298651 [fenix] CI for PR https://github.com/mozilla-mobile/fenix/pull/9705 (https://github.com/mozilla-mobile/fenix/pull/12748)
* https://github.com/mozilla-mobile/fenix/issues/3880. Update detekt to 1.9.1

* https://github.com/mozilla-mobile/fenix/issues/3880. Use `AbsentOrWrongFileLicense` detekt rule

* https://github.com/mozilla-mobile/fenix/issues/3880. Update detekt baseline

Co-authored-by: Denys M <dector9@gmail.com>
4 years ago
Sawyer Blatz 54a6de9b84 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12735: Fixes issue with tab deletion undo (https://github.com/mozilla-mobile/fenix/pull/12737) 4 years ago
MickeyMoz 4da11a8aff [fenix] Update Android Components version to 51.0.20200720130437. 4 years ago
MickeyMoz 08ad75dc24 [fenix] Update Android Components version to 51.0.20200719130512. 4 years ago
MickeyMoz 2d204850eb [fenix] Update Android Components version to 51.0.20200718130042. 4 years ago
Christian Sadilek 250c95eb28 [fenix] Update Android Components to 51.0.20200717190031 4 years ago
ekager 970a6f90bf [fenix] Update Android Components to 51.0.20200717130954 4 years ago
MickeyMoz 799fcc44ff [fenix] Update Android Components version to 51.0.20200716130034. 4 years ago
Tiger Oakes 034a9dae8f [fenix] Update Kotlin dependency (https://github.com/mozilla-mobile/fenix/pull/10806) 4 years ago
ekager 772f69c5f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7094 - Adds save login exceptions 4 years ago
MickeyMoz 9f0d86296d [fenix] Update Android Components version to 50.0.20200712190143. 4 years ago
MickeyMoz 0cc9b8ab4d [fenix] Update Android Components version to 50.0.20200712130829. 4 years ago
Sawyer Blatz 33ea9d02aa [fenix] No issue: Update AC version 4 years ago
Tiger Oakes 8171bef320 [fenix] Add links in Checks panel for test/lint tasks (https://github.com/mozilla-mobile/fenix/pull/12222)
* Add lints in Checks panel for test/lint tasks

* Switch to custom task

* Rename github tasks
4 years ago
Tiger Oakes e69b1e06f1 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9832 - Change targetSdkVersion to Android 10 (https://github.com/mozilla-mobile/fenix/pull/11014) 4 years ago
MickeyMoz 7c20d565f7 [fenix] Update Android Components version to 50.0.20200709130100. 4 years ago
MickeyMoz d0e3833d3b [fenix] Update Android Components version to 50.0.20200708130551. 4 years ago
Christian Sadilek 9e0396e9d6 [fenix] Update Android Components version to 50.0.20200707200739 4 years ago
MickeyMoz 1b69dbff02 [fenix] Update Android Components version to 49.0.20200707131055. 4 years ago
MickeyMoz 9443af0ffc [fenix] Update Android Components version to 49.0.20200705130154. 4 years ago
ekager 00a0ef9d9c [fenix] No issue - Update LeakCanary, Lottie, androidx dependencies 4 years ago
ekager e4dcad8f00 [fenix] Updates AC to 49.0.20200702190156 and fixes breaking changes 4 years ago
MickeyMoz d8063bd72d [fenix] Update Android Components version to 49.0.20200702131412. 4 years ago
MickeyMoz d357a09331 [fenix] Update Android Components version to 49.0.20200701130905. 4 years ago
MickeyMoz 76f4084916 [fenix] Update Android Components version to 49.0.20200630133320. 4 years ago
MickeyMoz 9e4f5e6d60 [fenix] Update Android Components version to 48.0.20200629130051. 4 years ago
MickeyMoz fe5a47dba5 [fenix] Update Android Components version to 48.0.20200628130058. 4 years ago
ekager 79eeeb9af5 [fenix] Update AC to 48.0.20200627130132 and fix breaking changes 4 years ago
Marc Leclair 890963491c [fenix] Added A-C version 48.0.20200626213814 4 years ago
Gabriel Luong 60ea328837 [fenix] Update Android Components version to 48.0.20200626130049. (https://github.com/mozilla-mobile/fenix/pull/12006)
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
MickeyMoz 8414152f99 [fenix] Update Android Components version to 48.0.20200625130125. 4 years ago
Tiger Oakes 766c82ba60 [fenix] Update customtabs service 4 years ago
MickeyMoz 1000bfd7e4 [fenix] Update Android Components version to 48.0.20200624130112. 4 years ago
MickeyMoz f93119660c [fenix] Update Android Components version to 47.0.20200623130149. 4 years ago
Tiger Oakes 9818176c34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11534 - Don't check lastUsed mode for screenshots (https://github.com/mozilla-mobile/fenix/pull/11827) 4 years ago
ekager 24e8287b10 [fenix] Update A-C version, add synced tabs empty state 4 years ago
MickeyMoz 4a76a7e3aa [fenix] Update Android Components version to 47.0.20200618130101. 4 years ago
ekager 186a562c3a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11172 - Update android components (and a-s) 4 years ago
MickeyMoz 84cc714d59 [fenix] Update Android Components version to 47.0.20200617130048. 4 years ago
MickeyMoz 6597072e80 [fenix] Update Android Components version to 45.0.20200616130058. 4 years ago
MickeyMoz fa5a62ae92 [fenix] Update Android Components version to 45.0.20200615130107. 4 years ago
Jonathan Almeida 1bf6e36357 [fenix] Update Android Components version to 45.0.20200612203948 4 years ago
Jonathan Almeida 81929addcc [fenix] Fix breaking APIs in TabsAdapter and ViewHolder 4 years ago
Tiger Oakes 1fa7b8a4dc [fenix] Update Android Components version 4 years ago
ekager 9cd21f2eb1 [fenix] No issue: Update androidx fragment library to next stable 4 years ago
Tiger Oakes 110771d077 [fenix] Remove Mockito 4 years ago
Tiger Oakes fd193e05f1 [fenix] Increase Mockk version 4 years ago
MickeyMoz ff01f6e73f [fenix] Update Android Components version to 45.0.20200610130052. 4 years ago
Jeff Boek 89dc04f338 [fenix] No Issue - Moves from being a tabstray observer to overriding tab use cases 4 years ago
Christian Sadilek e0dfa09cc3 [fenix] Clear speculative session on engine settings change 4 years ago
MickeyMoz 4042ab777a [fenix] Update Android Components version to 45.0.20200609130052. 4 years ago
Grisha Kruglov cce10c6318 [fenix] Update A-C to 45.0.20200608190110 4 years ago
MickeyMoz e9956e9862 [fenix] Update Android Components version to 45.0.20200607130045. 4 years ago
MickeyMoz 7076c9826d [fenix] Update Android Components version to 45.0.20200605130045. 4 years ago
Dennis Schubert 0b87f96637 [fenix] Bug 1643132 - Add WebCompat Reporter feature. 4 years ago
Sawyer Blatz 3daf6fcef4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488: Add experimentation support 4 years ago
MickeyMoz 2beca1fa02 [fenix] Update Android Components version to 45.0.20200604130052. 4 years ago
MickeyMoz 24a3c8800a [fenix] Update Android Components version to 45.0.20200603130110. 4 years ago
MickeyMoz 7190ea8da1 [fenix] Update Android Components version to 44.0.20200601130057. 4 years ago
Vishwa Patel d7faa8c2c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10834 - Adding Sync Tabs Feature in Fenix 4 years ago
MickeyMoz 6fd51d776e [fenix] Update Android Components version to 44.0.20200531130125. 4 years ago
MickeyMoz 551ccc071b [fenix] Update Android Components version to 44.0.20200530130137. 4 years ago
Jonathan Almeida af97ac49dc [fenix] Update Android Components version to 44.0.20200529205416 4 years ago
Gabriel Luong 231054a97a [fenix] Added BrowserThumbnails dependencies 4 years ago
MickeyMoz 9f65c4f8f0 [fenix] Update Android Components version to 44.0.20200529173219. 4 years ago
Christian Sadilek 3f7127a6f4 [fenix] Update Android Components version to 44.0.20200528190114
Pass store to download manager and service to address API changes.
4 years ago
MickeyMoz 68fc4c7ae5 [fenix] Update Android Components version to 44.0.20200528130107. 4 years ago
MickeyMoz e4e82a1c0a [fenix] Update Android Components version to 44.0.20200527130120. 4 years ago
Simon Chae dd104f3980 [fenix] Update Android Components version to 43.0.20200526130035 4 years ago
MickeyMoz a56732fd3d [fenix] Update Android Components version to 43.0.20200525130117. 4 years ago
Christian Sadilek 69732d036d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10827: Upgrade to Leanplum 5.4.0 4 years ago
ekager 51fef6193a [fenix] No issue: Update androidx appcompat and constraintlayout versions 4 years ago
Christian Sadilek 45b6e00bb9 [fenix] Update Android Components version to 43.0.20200520190033 4 years ago
Michael Comella 413daedf6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/10757: remove no-op Experiments code and dependency.
We were supposed to have removed Experiments for performance purposes.
However, I find some code dangling in the tree.

Experiments.initialize is no longer called so I suspect
Experiments.withExperiment is a no-op. I verified that the lambda
function provided to it never ran in my local geckoBetaDebug on startup.
Assuming experiments behavior doesn't change in other build types, this
change appears safe.
4 years ago
ekager 75816bf8f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10691 - Turn on LeakCanary by default for debug builds 4 years ago
MickeyMoz 0259540eb6 [fenix] Update Android Components version to 42.0.20200518130035. 4 years ago
MickeyMoz 37b740b5b3 [fenix] Update Android Components version to 42.0.20200515130053. 4 years ago
Simon Chae c3804c2265 [fenix] Update Android Components version to 42.0.20200514130134 4 years ago
Christian Sadilek 9c066e7144 [fenix] Migrate feature-accounts to browser-state 4 years ago
Mickey Moz 72c6f1afba [fenix] Update Android Components version to 41.0.20200513130106. (https://github.com/mozilla-mobile/fenix/pull/10623) 4 years ago
Simon Chae 8461e941e5 [fenix] Update Android Components version to 41.0.20200512130104 🎲🎲 (https://github.com/mozilla-mobile/fenix/pull/10600)
* Update GLEAN metrics and ping formatting

* Update Android Components version to 41.0.20200512130104.
4 years ago
Sebastian Kaspari 866c60385e [fenix] Integrate activity for showing past crashes. 4 years ago
MickeyMoz 87b302c5ed [fenix] Update Android Components version to 41.0.20200510130109. 4 years ago
MickeyMoz 62fc25e010 [fenix] Update Android Components version to 41.0.20200508130136. 4 years ago
MickeyMoz cee8170dd8 [fenix] Update Android Components version to 41.0.20200507130125. 4 years ago
Simon Chae 8a493357ba [fenix] Update Android Components version to 41.0.20200506130132 (https://github.com/mozilla-mobile/fenix/pull/10443) 4 years ago
Jeff Boek c20dbf04b7 [fenix] No Issue - Update to AC 41.0.20200505190119 4 years ago
MickeyMoz 2f7d922842 [fenix] Update Android Components version to 40.0.20200504130127. 4 years ago
MickeyMoz 7ea3e1f1b3 [fenix] Update Android Components version to 40.0.20200503130122. 4 years ago
Arturo Mejia e396f53629 [fenix] No issue: Fix top sites migration schema issue. 4 years ago
MickeyMoz c5713f75c1 [fenix] Update Android Components version to 40.0.20200430130114. 4 years ago
MickeyMoz 37b33575d5 [fenix] Update Android Components version to 40.0.20200428130031. 4 years ago
Arturo Mejia 21597f8953 [fenix] Update Android Components version 4 years ago
ekager 5529f77183 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10204 - Address viewLifecycleOwner IllegalStateException crashes 4 years ago
Mickey Moz 2d00592f58 [fenix] Update Android Components version to 39.0.20200424130104. (https://github.com/mozilla-mobile/fenix/pull/10190) 4 years ago
Christian Sadilek 51ca89fcf4 [fenix] Upgrade to A-C 39.0.20200422203205 4 years ago
Christian Sadilek 5400b1f500 [fenix] Upgrade to A-C 39.0.20200422145552 4 years ago
Arturo Mejia c9864c053b [fenix] Update Android Components version 4 years ago
Michael Comella 233150b3ca [fenix] No issue: update robolectric to 4.3.1.
This may have minor performance improvements.

I don't see any value in hoisting all dependency versions so I removed
it for this dep. I also see an additional downside (additional indirection to
find values in addition to the indirection of storing all the dependencies in
a single file).
4 years ago
MickeyMoz 36ed5f25b4 [fenix] Update Android Components version to 39.0.20200421130115. 4 years ago
MickeyMoz 77829f6e53 [fenix] Update Android Components version to 39.0.20200420130119. 4 years ago
MickeyMoz e4b884193c [fenix] Update Android Components version to 39.0.20200418130110. 4 years ago
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