Commit Graph

357 Commits (55e4a7c651a434ca1aefe2c5e6011cda88e46958)

Author SHA1 Message Date
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
Mihai Branescu 4fe9033c0f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
4 years ago
Sebastian Kaspari dcd851b611 [fenix] Use Mozilla Android Components 34.0.0-SNAPSHOT. (https://github.com/mozilla-mobile/fenix/pull/8527) 4 years ago
ekager 8dae3fe9c0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8504 - Update Lottie version to 3.3.0 4 years ago
Jeff Boek 72618be169 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3869 - Uses RegionSearchLocalizationProvider in the search engine provider 4 years ago
ekager 7da6fb4630 [fenix] No issue: Update to latest LeakCanary version 4 years ago
Alessio Placitelli 8d0af2e822 [fenix] Bump Glean to v25.0.0
This is required for making the new A-C snapshot work.
4 years ago
Sebastian Kaspari 56fa8adacb [fenix] Use Mozilla Android Components 33.0.0-SNAPSHOT. 4 years ago
Simon Chae d0734eff7f [fenix] Update mozilla_service_glean_forUnitTests version 4 years ago
Sebastian Kaspari e53db0c75c [fenix] Update Mozilla Android Components to 32.0.0-SNAPSHOT. 5 years ago
Emily Kager b9d9c21972 [fenix] No issue: Update androidx dependencies 02.08.20 5 years ago
Sebastian Kaspari 38af404002 [fenix] Update to Mozilla Android Components 31.0.0-SNAPSHOT. 5 years ago
Grisha Kruglov 4856f96232 [fenix] Bump to a-s 0.50.0 5 years ago
Gabriel Luong aaf9c65f5d [fenix] Provide add-on support (https://github.com/mozilla-mobile/fenix/pull/8064)
Closes https://github.com/mozilla-mobile/fenix/issues/5630, https://github.com/mozilla-mobile/fenix/issues/6069, https://github.com/mozilla-mobile/fenix/issues/6092, https://github.com/mozilla-mobile/fenix/issues/6091, https://github.com/mozilla-mobile/fenix/issues/6124, and https://github.com/mozilla-mobile/fenix/issues/6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
5 years ago
Jonathan Almeida 8e13b8bb98 [fenix] For https://github.com/mozilla-mobile/fenix/issues/373: Implement LeanPlum push messaging
Also closes https://github.com/mozilla-mobile/fenix/issues/6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
5 years ago
Simon Chae 5ee0fd4ccc [fenix] Update a-c snapshot version to 30.0.0 (https://github.com/mozilla-mobile/fenix/pull/8003) 5 years ago
Vlad Filippov 3efa98e6a2 [fenix] Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.3
Ref: https://github.com/mozilla-mobile/android-components/pull/5703

@grigoryk @ekager r?
5 years ago
Gabriel Luong bcc77834dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/6758 - Part 2: Add AC dependencies for top sites feature 5 years ago
Chenxia Liu 9006f7f610 [fenix] Update Fenix to 29.0.0-SNAPSHOT 5 years ago
Will Hawkins 78e86d8f2b [fenix] No Issue: Add custom detekt rule to blacklist certain properties
Add a custom detekt rule to blacklist certain properties. This is
immediately useful for making sure that developers do not configure
runtime behavior using the `BuildConfig.DEBUG` property but it is
useful in a wider context.
5 years ago
Vlad Filippov 76c10a29d1 [fenix] Bump a-s dependency to 0.48.2
Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.2
5 years ago
Colin Lee f5a7312763 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5182: Loading experiments on startup is slow, remove Fretboard (https://github.com/mozilla-mobile/fenix/pull/7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
5 years ago
Jonathan Almeida aeb1af59e2 [fenix] Update App Services version to 0.48.1 (https://github.com/mozilla-mobile/fenix/pull/7601)
Multiple PRs required to fix UI tests. Force land needed.
5 years ago
Jonathan Almeida ba65f30cbd [fenix] Downgrade app services to 0.44.0 5 years ago
Sebastian Kaspari 39b1040830 [fenix] Update Mozilla Android Components to 28.0.0-SNAPSHOT. 5 years ago
Jan-Erik Rediger 1c8b412035 [fenix] Update Glean `forUnitTest` dependency (https://github.com/mozilla-mobile/fenix/pull/6389) 5 years ago
mcarare 27e654cafa [fenix] For https://github.com/mozilla-mobile/fenix/issues/7095 Update androidx.biometric to latest version 5 years ago
Mihai Branescu bbd73acf60 [fenix] Feature/https://github.com/mozilla-mobile/fenix/issues/220 language menu (https://github.com/mozilla-mobile/fenix/pull/7070)
* For https://github.com/mozilla-mobile/fenix/issues/220
- Added advanced header + locale settings item in the settings fragment

* For https://github.com/mozilla-mobile/fenix/issues/220
- Added locale selection page with lib state + handling of locale changes

* For https://github.com/mozilla-mobile/fenix/issues/220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For https://github.com/mozilla-mobile/fenix/issues/220
- Added unit tests for locale settings page

* For https://github.com/mozilla-mobile/fenix/issues/220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Severin Rudie 8b746007fd [fenix] 7410 remove rxjava (https://github.com/mozilla-mobile/fenix/pull/7426)
* For https://github.com/mozilla-mobile/fenix/issues/7410: rewrite updateBookmarkFromObservableInput with coroutines

* For 7410: remove RxJava from project. :(

* For 7410: converted updateBookmarkFromTextChanges to Flow per review
5 years ago
Tiger Oakes 8646dcfbbe [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7085 - Remove anko (https://github.com/mozilla-mobile/fenix/pull/7301) 5 years ago
Michael Comella 42ec15c095 [fenix] No issue: remove unused Anko dependencies. 5 years ago
Kadeem M 78a599b06e [fenix] Added UI tests for the About Settings page (https://github.com/mozilla-mobile/fenix/pull/6161) 5 years ago
Roger Yang 5ae8bc6f0a [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7156: Update app links feature usage to include app links interceptor (https://github.com/mozilla-mobile/fenix/pull/7275) 5 years ago
Colin Lee 37bf6b8509 [fenix] For https://github.com/mozilla-mobile/fenix/issues/747: Update to stable LeakCanary (https://github.com/mozilla-mobile/fenix/pull/7211) 5 years ago
Ryan Kelly b806b4c5fa [fenix] Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
Colin Lee a9a3fdc1fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/4064: Replace prerelease R8 with improved Kotlin coroutines library (https://github.com/mozilla-mobile/fenix/pull/7153) 5 years ago
Sawyer Blatz a0eb12b12e [fenix] Updates to AC 26.0.0-SNAPSHOT (https://github.com/mozilla-mobile/fenix/pull/7068) 5 years ago
ekager 28eab83d14 [fenix] No issue: Update to 25.0.0-snapshot 5 years ago
Edouard Oger 1e1c28e89c [fenix] Update Application Services to 0.44.0 5 years ago
Sebastian Kaspari 69755cb94f [fenix] Update to Mozilla Android Components 24.0.0-SNAPSHOT. (https://github.com/mozilla-mobile/fenix/pull/6833) 5 years ago
Alessio Placitelli 1f0e7b6ff5 [fenix] Update the Lifecycle dependency to 2.2.0-rc02 (https://github.com/mozilla-mobile/fenix/pull/6780)
The changelog [lives here](https://developer.android.com/jetpack/androidx/releases/lifecyclehttps://github.com/mozilla-mobile/fenix/pull/2.2.0-rc02).
This is another attempt to fix the oddities being detected by
Glean in Fenix: 'baseline' ping are not being sent for a certain
subset of users, 'metrics' pings are.
5 years ago
Sebastian Kaspari 047ea3749d [fenix] Update to Mozilla Android Components 23.0.0-SNAPSHOT. 5 years ago
Roger Yang f8b8249b3f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6440 Integrate Web Notifications Feature 5 years ago
Tiger Oakes 037d35abd1 [fenix] Use ViewModel for share fragment 5 years ago
Emily Kager f279306478 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5074 - Sync Logins, Uses KeySharedPreferences for Passwords Encryption Key 5 years ago
Sebastian Kaspari a24411987c [fenix] Update Mozilla Android Components to 22.0.0-SNAPSHOT. 5 years ago
Sawyer Blatz a7fdfe5cd0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5547: Reuse biometricPrompt when authenticating
This fixes an issue with Samsung devices where an invisible DeviceCredentialHandler because the executor was "null" (it wasn't actually)

You *must* reuse the biometric object instead of creating a new one.
5 years ago
Emily Kager fc7084a555 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5547 - Add top level auth when accessing passwords 5 years ago
Emily Kager 4c9f6299ab [fenix] No issue: Update to AC 21 SNAPSHOT (https://github.com/mozilla-mobile/fenix/pull/6466) 5 years ago
Christian Sadilek b425c60f28 [fenix] Upgrade Mozilla Application Services to 0.42.2 5 years ago
Arturo Mejia 4d7068779c [fenix] Update to AC 20.0.0-SNAPSHOT (https://github.com/mozilla-mobile/fenix/pull/6343) 5 years ago
Sawyer Blatz ed0d2c0c0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/1298: Fixes issue with Adjust campaign not sending through Glean (https://github.com/mozilla-mobile/fenix/pull/5896) 5 years ago
Jonathan Almeida e5f9064701 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/373 - Integrate leanplum-fcm"
This reverts commit b1ce8ffcb7710fd98b692358309db42690593e11.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See https://github.com/mozilla-mobile/fenix/issues/6250 and https://github.com/mozilla-mobile/fenix/issues/6251 for related info.
5 years ago
Denys M f69e53c92d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
ekager 36de82bdc6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5544: Bare Minimum Logins UI 5 years ago
Alessio Placitelli 9d544a27e8 [fenix] Pick up forUnitTest library for the Glean SDK test 5 years ago
Sebastian Kaspari a81a60183d [fenix] Update to Mozilla Android Components 19.0.0-SNAPSHOT. 5 years ago
Grisha Kruglov 3e5c5d9514 [fenix] Perform Fennec data migration within fennecProduction 5 years ago
Mitchell Hentges cf0265e3b1 [fenix] Removes versionName check from gradle (https://github.com/mozilla-mobile/fenix/pull/5934) 5 years ago
Sebastian Kaspari 82d20a0c40 [fenix] Update to Mozilla Android Components 18.0.0-SNAPSHOT. 5 years ago
MozLando 6a85b7361e [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/6015
6015: For https://github.com/mozilla-mobile/fenix/issues/5991 - Downgrade RecyclerView version to fix a11y crash r=sblatz a=ekager



Co-authored-by: ekager <emilykager@gmail.com>
5 years ago
ekager a576c3855b [fenix] For https://github.com/mozilla-mobile/fenix/issues/5991 - Downgrade RecyclerView version to fix a11y crash 5 years ago
ekager fb5d00e087 [fenix] No issue: Update androidx fragment Oct 11 5 years ago
MozLando c7249beabe [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5897
5897: No issue: Update androidx dependencies Oct 9 r=sblatz a=ekager

Land tomorrow after we cut release but finally out of using alphas (mostly)

### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [ ] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [ ] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [ ] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [ ] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

Co-authored-by: Emily Kager <ekager@mozilla.com>
5 years ago
Sawyer Blatz 2bafd3ea24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5898: Default browser toggle sends user to SUMO on Android 5&6 (https://github.com/mozilla-mobile/fenix/pull/5918) 5 years ago
Jeff Boek d09494613a [fenix] For https://github.com/mozilla-mobile/fenix/issues/373 - Integrate leanplum-fcm 5 years ago
Emily Kager 2006bb64f3 [fenix] No issue: Update androidx dependencies Oct 9 5 years ago
Sawyer Blatz 20d6976512 [fenix] Upgrade to AC 16.0.0 5 years ago
Colin Lee a925cc246d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5599: Remove dependency on fetch_httpurlconnection (https://github.com/mozilla-mobile/fenix/pull/5716)
* For https://github.com/mozilla-mobile/fenix/issues/5599: Remove dependency on fetch_httpurlconnection

* For https://github.com/mozilla-mobile/fenix/issues/5599: Switch Glean to GeckoViewFetchClient

* Use existing Gecko client for Glean
5 years ago
Christian Sadilek edd9e49e01 [fenix] Upgrade to Mozilla Android Components 16.0.0-SNAPSHOT 5 years ago
Grisha Kruglov 8970474e62 [fenix] FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes https://github.com/mozilla-mobile/fenix/issues/4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
Emily Kager bb48b2d28f [fenix] No issue: Update navigation library 5 years ago
Christian Sadilek 462e4c6201 [fenix] Upgrade to A-C 15.0.0-SNAPSHOT (incl. required changes) (https://github.com/mozilla-mobile/fenix/pull/5578)
* Upgrade to Mozilla Android components 15.0.0-SNAPSHOT

* Update findinpage integration to use browser-state

* Use new UseCases APIs after download migration.
5 years ago
Christian Sadilek 7a32899445 [fenix] Use Mozilla Android Components 14.0.1 5 years ago
Alessio Placitelli a7f4f3fa4f [fenix] Bump Robolectric to version 4.2.1
Version 4.2 is broken on Windows.
5 years ago
Alessio Placitelli c43b478447 [fenix] Add the workmanager dependency to enable testing with Glean 5 years ago
Sawyer Blatz e14749a875 [fenix] No issue: Pin to AC 14.0.0 (https://github.com/mozilla-mobile/fenix/pull/5523) 5 years ago