Commit Graph

332 Commits (84f4ff0d8652cd1ad0323c86de098f825d9c422e)

Author SHA1 Message Date
Vishwa Patel 4da22c605a For #10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Gabriel Luong 63e529ac2b Added BrowserThumbnails dependencies 4 years ago
Christian Sadilek fd39a489b0 Closes #10827: Upgrade to Leanplum 5.4.0 4 years ago
ekager 9ce9fbc889 No issue: Update androidx appcompat and constraintlayout versions 4 years ago
Michael Comella b0b2f87ab4 For #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 28a6b1f9d5 For #10691 - Turn on LeakCanary by default for debug builds 4 years ago
ekager a9692d9bce For #10204 - Address viewLifecycleOwner IllegalStateException crashes 4 years ago
Michael Comella ce0bad5ffb 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
Michael Comella f0464b9e72
For #9644: restrict deps to specific repositories (#9649)
* For #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 #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 #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 #9644: restrict firebase deps to google repo.

This fixes the resolution error from the previous PR.
4 years ago
ekager 716dbf2d57 No issue: Update androidx appcompat to 1.2.0-beta01 4 years ago
Michael Comella 9305331a56 For #9631: remove assertk dependency. 4 years ago
Michael Comella d903791992 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 2ccc21bd0d 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
Michael Comella f1159f3558 No issue: remove assertJ.
It was only used for 3 checks so it's not worth having a dependency on
it.
4 years ago
Emily Kager b94ac93ce9
Upgrade to detekt 1.6.0 (#9306)
Changelog:

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

Fixes #7360.  Also use more exact test glob.

Co-authored-by: Andrew Gaul <andrew@gaul.org>
4 years ago
Elise Richards 5202c0a2f9 Fixes #9290: Update AppCompat to latest version. 4 years ago
Sebastian Kaspari 34144fd254 Use pinned Android Components Nightly version instead of snapshots. 4 years ago
Christian Sadilek 1f189aa4d1 Update to AC 37.0.0-SNAPSHOT 4 years ago
mcarare 320fc4e4ae For #8788 Use Flexbox instead of Grid manager for top sites 4 years ago
Christian Sadilek fab0d5c9f8 Update to AC 36.0.0-SNAPSHOT 4 years ago
ekager bd4701f29e No issue: Update androidx testing 4 years ago
Michael Droettboom bb2c009c16 1592947: Use the Glean Gradle plugin 4 years ago
Arturo Mejia 3bc1ae7232 No issue: Update to AC 35.0.0-SNAPSHOT 4 years ago
Grisha Kruglov fddf77280c 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 fdbf63fb97 For #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 d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 4 years ago
ekager d41b3608ac For #8504 - Update Lottie version to 3.3.0 4 years ago
Jeff Boek a8746320d7 For #3869 - Uses RegionSearchLocalizationProvider in the search engine provider 4 years ago
ekager 2b0a5086d5 No issue: Update to latest LeakCanary version 4 years ago
Alessio Placitelli 8875a6be72 Bump Glean to v25.0.0
This is required for making the new A-C snapshot work.
4 years ago
Sebastian Kaspari 4400ee00cd Use Mozilla Android Components 33.0.0-SNAPSHOT. 4 years ago
Simon Chae b9089e2bdb Update mozilla_service_glean_forUnitTests version 4 years ago
Sebastian Kaspari f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 4 years ago
Emily Kager 5839f5891c No issue: Update androidx dependencies 02.08.20 4 years ago
Sebastian Kaspari 267314ebac Update to Mozilla Android Components 31.0.0-SNAPSHOT. 4 years ago
Grisha Kruglov 3f9ed2992c Bump to a-s 0.50.0 4 years ago
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #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>
4 years ago
Jonathan Almeida cbcc56bbba For #373: Implement LeanPlum push messaging
Also closes #6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
4 years ago
Simon Chae db34700e3a
Update a-c snapshot version to 30.0.0 (#8003) 4 years ago
Vlad Filippov 3fbfdac129 Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.3
Ref: mozilla-mobile/android-components#5703

@grigoryk @ekager r?
4 years ago
Gabriel Luong 584b270aa4 For #6758 - Part 2: Add AC dependencies for top sites feature 4 years ago
Chenxia Liu 4dc0aa2bfb Update Fenix to 29.0.0-SNAPSHOT 4 years ago
Will Hawkins f69009aa9e 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.
4 years ago
Vlad Filippov dd701233f5 Bump a-s dependency to 0.48.2
Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.2
4 years ago
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#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.
4 years ago
Jonathan Almeida 3ac17fd390 Update App Services version to 0.48.1 (#7601)
Multiple PRs required to fix UI tests. Force land needed.
4 years ago
Jonathan Almeida eae3209feb Downgrade app services to 0.44.0 4 years ago
Sebastian Kaspari e3408b12b4 Update Mozilla Android Components to 28.0.0-SNAPSHOT. 4 years ago
Jan-Erik Rediger 4ee259a939 Update Glean `forUnitTest` dependency (#6389) 4 years ago
mcarare 1e7a10c585 For #7095 Update androidx.biometric to latest version 4 years ago
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
4 years ago
Severin Rudie 9cbc3f7a4a
7410 remove rxjava (#7426)
* For #7410: rewrite updateBookmarkFromObservableInput with coroutines

* For 7410: remove RxJava from project. :(

* For 7410: converted updateBookmarkFromTextChanges to Flow per review
4 years ago
Tiger Oakes a45821bac5
Closes #7085 - Remove anko (#7301) 4 years ago
Michael Comella 93e677e11b No issue: remove unused Anko dependencies. 4 years ago
Kadeem M e22d092f5d Added UI tests for the About Settings page (#6161) 4 years ago
Roger Yang dd1433733a
Closes #7156: Update app links feature usage to include app links interceptor (#7275) 4 years ago
Colin Lee b654ec99cd
For #747: Update to stable LeakCanary (#7211) 4 years ago
Ryan Kelly 31f2e80ab0 Use feature-accounts-push, which replaces feature-sendtab. 4 years ago
Colin Lee a8f895cb5c
For #4064: Replace prerelease R8 with improved Kotlin coroutines library (#7153) 4 years ago
Sawyer Blatz f5f0cb8d9c
Updates to AC 26.0.0-SNAPSHOT (#7068) 5 years ago
ekager cb1cb37fd8 No issue: Update to 25.0.0-snapshot 5 years ago
Edouard Oger 401cc37f99 Update Application Services to 0.44.0 5 years ago
Sebastian Kaspari b69b70becb Update to Mozilla Android Components 24.0.0-SNAPSHOT. (#6833) 5 years ago
Alessio Placitelli d69db50968 Update the Lifecycle dependency to 2.2.0-rc02 (#6780)
The changelog [lives here](https://developer.android.com/jetpack/androidx/releases/lifecycle#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 cf62d34136 Update to Mozilla Android Components 23.0.0-SNAPSHOT. 5 years ago
Roger Yang f3fc532e0e Closes #6440 Integrate Web Notifications Feature 5 years ago
Tiger Oakes fdd7400ccc Use ViewModel for share fragment 5 years ago
Emily Kager c43f96096e For #5074 - Sync Logins, Uses KeySharedPreferences for Passwords Encryption Key 5 years ago
Sebastian Kaspari 0fb60996c6 Update Mozilla Android Components to 22.0.0-SNAPSHOT. 5 years ago
Sawyer Blatz 4183dea591 For #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 3e2b88cc91 For #5547 - Add top level auth when accessing passwords 5 years ago
Emily Kager b160f6ce79 No issue: Update to AC 21 SNAPSHOT (#6466) 5 years ago
Christian Sadilek b3d62094cc Upgrade Mozilla Application Services to 0.42.2 5 years ago
Arturo Mejia 8481b0a560
Update to AC 20.0.0-SNAPSHOT (#6343) 5 years ago
Sawyer Blatz 2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 5 years ago
Jonathan Almeida 59c0fb504e Revert "For #373 - Integrate leanplum-fcm"
This reverts commit ed239ec250.

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 #6250 and #6251 for related info.
5 years ago
Denys M 6290c0c826 Closes #2441. Update LeakCanary to `2.0-beta-3` version. 5 years ago
ekager f49331de55 For #5544: Bare Minimum Logins UI 5 years ago
Alessio Placitelli 47dfcc119e Pick up forUnitTest library for the Glean SDK test 5 years ago
Sebastian Kaspari b3ce0b421b Update to Mozilla Android Components 19.0.0-SNAPSHOT. 5 years ago
Grisha Kruglov 9ffff79a88 Perform Fennec data migration within fennecProduction 5 years ago
Sebastian Kaspari 94c5aaac53 Update to Mozilla Android Components 18.0.0-SNAPSHOT. 5 years ago
MozLando b8e41d6cec Merge #6015
6015: For #5991 - Downgrade RecyclerView version to fix a11y crash r=sblatz a=ekager



Co-authored-by: ekager <emilykager@gmail.com>
5 years ago
ekager 2fd63b6054 For #5991 - Downgrade RecyclerView version to fix a11y crash 5 years ago
ekager 4d771813b4 No issue: Update androidx fragment Oct 11 5 years ago
MozLando 4c8eb3c73c Merge #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 b0d796ccee
For #5898: Default browser toggle sends user to SUMO on Android 5&6 (#5918) 5 years ago
Jeff Boek ed239ec250 For #373 - Integrate leanplum-fcm 5 years ago
Emily Kager eb10ea96cd No issue: Update androidx dependencies Oct 9 5 years ago
Sawyer Blatz d70afda961 Upgrade to AC 16.0.0 5 years ago
Colin Lee b7647a454f
For #5599: Remove dependency on fetch_httpurlconnection (#5716)
* For #5599: Remove dependency on fetch_httpurlconnection

* For #5599: Switch Glean to GeckoViewFetchClient

* Use existing Gecko client for Glean
5 years ago
Christian Sadilek b733e4fa8f Upgrade to Mozilla Android Components 16.0.0-SNAPSHOT 5 years ago
Grisha Kruglov a4097cd380 FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
Emily Kager 3f41a4e9c6 No issue: Update navigation library 5 years ago
Christian Sadilek ac2611d744 Upgrade to A-C 15.0.0-SNAPSHOT (incl. required changes) (#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 2e32083d84 Use Mozilla Android Components 14.0.1 5 years ago
Alessio Placitelli b113c2ac24 Bump Robolectric to version 4.2.1
Version 4.2 is broken on Windows.
5 years ago
Alessio Placitelli ebd11dbca8 Add the workmanager dependency to enable testing with Glean 5 years ago
Sawyer Blatz 10ed7e5177
No issue: Pin to AC 14.0.0 (#5523) 5 years ago
Sebastian Kaspari d1dd869ff6 Use Mozilla Android Components 15.0.0-SNAPSHOT. (#5517) 5 years ago