Commit Graph

380 Commits

Author SHA1 Message Date
Aaditya Dhingra
d71d64edff Bug 1880848 - Fix warning: org.gradle.api.plugins.BasePluginConvention type has been deprecated. r=android-reviewers,webcompat-reviewers,twisniewski,pollymce,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D223166
2024-10-08 09:08:07 +00:00
John Oberhauser
2b667e846f Bug 1920176 Adding google search codes for vivo deal. Saving distribution Id in the browser store r=android-reviewers,amejiamarmol,gmalekpour
Differential Revision: https://phabricator.services.mozilla.com/D223856
2024-10-08 04:19:17 +00:00
Noemi Erli
642ed49f09 Backed out 2 changesets (bug 1917939, bug 1920176) for causing fenix failures in DistributionIdUtilTest CLOSED TREE
Backed out changeset 74017e7cc602 (bug 1920176)
Backed out changeset 614abe81fac6 (bug 1917939)
2024-10-08 03:14:37 +03:00
John Oberhauser
9397b12324 Bug 1920176 Adding google search codes for vivo deal. Saving distribution Id in the browser store r=android-reviewers,amejiamarmol,gmalekpour
Differential Revision: https://phabricator.services.mozilla.com/D223856
2024-10-07 21:26:13 +00:00
Tamas Szentpeteri
f1ccd4374b Backed out 2 changesets (bug 1920176, bug 1917939) for causing fenix failures related to FirstSessionPingTest.checkAndSend(). CLOSED TREE
Backed out changeset 22b8552ac3f9 (bug 1920176)
Backed out changeset 0c1a6577204f (bug 1917939)
2024-10-04 02:25:49 +03:00
Ryan VanderMeulen
fea9168a21 Bug 1921380 - Fix some existing AC detekt issues. r=android-reviewers,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D223894
2024-10-03 21:52:14 +00:00
John Oberhauser
28e81d42f9 Bug 1920176 Adding google search codes for vivo deal. Saving distribution Id in the browser store r=android-reviewers,amejiamarmol,gmalekpour
Differential Revision: https://phabricator.services.mozilla.com/D223856
2024-10-03 20:27:05 +00:00
Arturo Mejia
5a52a5e04e Bug 1914244 - Move the allow in private browsing checkbox to the web extension permissions prompt. r=willdurand,zmckenney,geckoview-reviewers,owlish,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219839
2024-10-03 02:40:56 +00:00
Sandor Molnar
ecfcb1bdd0 Backed out changeset 6558b07ffff2 (bug 1914244) for causing toolchain failures CLOSED TREE 2024-10-03 01:53:23 +03:00
Arturo Mejia
b210c87c25 Bug 1914244 - Move the allow in private browsing checkbox to the web extension permissions prompt. r=willdurand,zmckenney,geckoview-reviewers,owlish,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219839
2024-10-02 20:32:43 +00:00
Stanca Serban
eba68bcef1 Backed out changeset 8e4f5f72b094 (bug 1914244) for causing toolchains bustages in WebExtensionPromptFeature.kt. CLOSED TREE 2024-10-02 18:32:11 +03:00
Arturo Mejia
91ec927c57 Bug 1914244 - Move the allow in private browsing checkbox to the web extension permissions prompt. r=willdurand,zmckenney,geckoview-reviewers,owlish,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D219839
2024-10-02 13:14:33 +00:00
mcarare
d0dce81d08 Bug 1920977 - Explicitly set running SDK as 34 for Robolectric until it supports SDK 35. r=android-reviewers,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D223747
2024-10-01 07:04:28 +00:00
Norisz Fay
6b9e1da0f8 Backed out changeset 9c1d0c3ff431 (Bug 1790516) as requested by developer CLOSED TREE 2024-09-13 23:22:05 +03:00
Ryan VanderMeulen
dedac2cf02 Bug 1918289 - Switch AC & GV from junit4 to junit-vintage. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D221905
2024-09-12 12:36:21 +00:00
Mugurell
3aa37055c2 Bug 1908639 - part 1 - Add a new isPdf property to ContentState r=android-reviewers,matt-tighe
This will inform whether the current page is a pdf or not.

Differential Revision: https://phabricator.services.mozilla.com/D220280
2024-09-10 11:52:07 +00:00
Cathy Lu
24cd5ff539 Bug 1790516 - Default desktop mode for tablets r=geckoview-reviewers,android-reviewers,owlish,007
Differential Revision: https://phabricator.services.mozilla.com/D218122
2024-09-06 16:26:01 +00:00
Tamas Szentpeteri
7bb508cbab Backed out changeset 7ae3f62621b8 (bug 1790516) for causing gv-junit-fis failures on GeckoInputStreamTest#multipleWriters. CLOSED TREE 2024-09-05 18:40:17 +03:00
Cathy Lu
439fe4f9af Bug 1790516 - Default desktop mode for tablets r=geckoview-reviewers,android-reviewers,owlish,007
Differential Revision: https://phabricator.services.mozilla.com/D218122
2024-09-05 14:26:30 +00:00
Alex Jakobi
6b7e9fc6d2 Backed out changeset e90d4466e409 (Bug 1900622) r=botond,android-reviewers,tthibaud
Back out due to regression found by QA in comment #21.

Differential Revision: https://phabricator.services.mozilla.com/D220144
2024-08-27 09:49:03 +00:00
Titouan Thibaud
f34ecc993c Bug 1914204 - Remove Container alias and use directly ContainerState. r=android-reviewers,gl,mcarare
This will prevent build errors when upgrading to Kotlin 2.0

Differential Revision: https://phabricator.services.mozilla.com/D219765
2024-08-22 08:18:20 +00:00
Alex Jakobi
afb08ed09b Bug 1900622 - Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D213962
2024-08-21 13:27:03 +00:00
Sandor Molnar
b0107b0500 Backed out changeset 7e422af6bf16 (bug 1900622) for causing ktlint failures. CLOSED TREE 2024-08-21 14:09:31 +03:00
Alex Jakobi
ddea95694b Bug 1900622 - Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D213962
2024-08-21 10:42:10 +00:00
mcarare
9aaef295b4 Bug 1880805 - Suppress ComponentCallbacks2 levels deprecation. r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D217435
2024-08-08 08:02:35 +00:00
Noemi Erli
078b6e5660 Backed out 9 changesets (bug 1880805, bug 1880792) for causing Android build bustages CLOSED TREE
Backed out changeset 31bdbc9aeaa4 (bug 1880805)
Backed out changeset 774f35ca40c6 (bug 1880805)
Backed out changeset 245c3192541e (bug 1880805)
Backed out changeset b6ebbf12ab50 (bug 1880805)
Backed out changeset 17995dc18511 (bug 1880805)
Backed out changeset 42b34af74a6b (bug 1880805)
Backed out changeset 2f77befbf593 (bug 1880805)
Backed out changeset 974b02a7b0c6 (bug 1880792)
Backed out changeset bb02a20ea5fd (bug 1880792)
2024-08-07 21:36:15 +03:00
mcarare
aea1024ecb Bug 1880805 - Suppress ComponentCallbacks2 levels deprecation. r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D217435
2024-08-07 14:20:48 +00:00
Norisz Fay
817e11ed18 Backed out 9 changesets (bug 1880805, bug 1880792) for causing WR bustages
Backed out changeset b4a34334966e (bug 1880805)
Backed out changeset 930b186197c7 (bug 1880805)
Backed out changeset a123725cb63e (bug 1880805)
Backed out changeset 361853f53ba9 (bug 1880805)
Backed out changeset b23f3321ac09 (bug 1880805)
Backed out changeset ed4650fa6bec (bug 1880805)
Backed out changeset 413d884fda78 (bug 1880805)
Backed out changeset e7fff6a1e708 (bug 1880792)
Backed out changeset 781599462673 (bug 1880792)
2024-08-07 14:55:34 +03:00
mcarare
e2a3020828 Bug 1880805 - Suppress ComponentCallbacks2 levels deprecation. r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D217435
2024-08-07 10:45:56 +00:00
Narcis Beleuzu
a84dc052f1 Backed out 9 changesets (bug 1880805, bug 1880792) for gradle-dependencies TL bustages. CLOSED TREE
Backed out changeset f94e6acf0cd3 (bug 1880805)
Backed out changeset 22e14524bf1f (bug 1880805)
Backed out changeset 774b263652b5 (bug 1880805)
Backed out changeset 77fe8fb48620 (bug 1880805)
Backed out changeset 3ae77f91197e (bug 1880805)
Backed out changeset 1ffaa88f56da (bug 1880805)
Backed out changeset 1dee3246c6a2 (bug 1880805)
Backed out changeset 9abb09c562ef (bug 1880792)
Backed out changeset 24a1c7a574c4 (bug 1880792)
2024-08-06 22:41:06 +03:00
mcarare
c56d5e3a6c Bug 1880805 - Suppress ComponentCallbacks2 levels deprecation. r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D217435
2024-08-06 17:38:55 +00:00
Gabriel Luong
390d7ab2d2 Bug 1885632 - [Menu Redesign] Implement mobile/desktop site states r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D210722
2024-07-24 02:57:48 +00:00
ohall-m
91975289b9 Bug 1908986 - Part 1: Fetch new Android translations information on locale change r=android-reviewers,giorga
This patch adds an observer to UpdateLocaleAction that makes the calls to fetch new language names
and model download sizes when a locale change occurs.

Differential Revision: https://phabricator.services.mozilla.com/D217188
2024-07-23 14:04:30 +00:00
Cathy Lu
2b9ff92c41 Bug 1903231 - On restore session, remove local content uri tabs r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D216720
2024-07-22 21:07:34 +00:00
Norisz Fay
7291d43f60 Backed out 2 changesets (bug 1900622) for causing Bug 1908553 and ktlint failure CLOSED TREE
Backed out changeset 0954f6f12226 (bug 1900622)
Backed out changeset 331cc5c5a9d9 (bug 1900622)
2024-07-18 08:36:53 +03:00
Alex Jakobi
c8b7b00618 Bug 1900622 - Add capabilities to hide dynamic toolbar on Fenix. r=android-reviewers,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D213962
2024-07-17 16:23:16 +00:00
Jeff Boek
1a2d16a5d4 Bug 1889066 - Adds tests to test includeParent r=android-reviewers,amejiamarmol
Depends on D206815

Differential Revision: https://phabricator.services.mozilla.com/D206816
2024-07-01 19:15:02 +00:00
ohall-m
e9f9d1607c Bug 1900148 - Part 2: Update AC/Fenix to Respond to Pivot Languages Appropriately r=android-reviewers,giorga
This patch adds logic to better account for pivot languages in non-English apps.
It changes:
* English may be downloaded as a language
* English may be deleted as a language, when it is the only language left
* English now syncs whenever it is downloaded
* Model state is periodically refreshed with Gecko in the Translations middleware
when nothing is processing

Differential Revision: https://phabricator.services.mozilla.com/D214638
2024-06-27 20:18:14 +00:00
ohall-m
451973380e Bug 1902023 - Update isTranslateProcessing to Clear on page load r=android-reviewers,calu
When a page change happens, the translations engine stops working on the
translation. This new state needs to be reflected in the browser store.

To do this:
* Added `SetTranslateProcessingAction` to change `isTranslateProcessing`
* Added `onTranslatePageChange`` that is notified at onLocationChange
* `onTranslatePageChange` calls `SetTranslateProcessingAction` and requests
the state be set to false

Differential Revision: https://phabricator.services.mozilla.com/D213606
2024-06-17 14:44:02 +00:00
ohall-m
195e314d0a Bug 1900582 - Update Android Translations ModelState to include ERROR States r=android-reviewers,giorga
Right now, when an error occurs when downloading or deleting a translations model,
there is nothing to indicate which model had an error.

This patch introduces `ERROR_DELETION` and `ERROR_DOWNLOAD` to indicate state.

Differential Revision: https://phabricator.services.mozilla.com/D213459
2024-06-13 16:29:44 +00:00
Gabriel Luong
635f5253fe Bug 1901163 - Refactor updateContentState to be an internal function r=android-reviewers,twhite
`updateTheContentState` and `updateContentState` are the same function. We should refactor the original function
`updateContentState` to be an `internal` function so that we can remove the reductant `updateTheContentState`.

Differential Revision: https://phabricator.services.mozilla.com/D212889
2024-06-12 15:25:21 +00:00
jackyzy823
74e0d99490 Bug 1893846 - Don't dispatch UpdateHasFormDataAction after PauseAction and reset previousHighestPriorityTabId when UnlinkEngineSessionAction. r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D208850
2024-05-30 16:16:36 +00:00
ohall-m
c276c7ecb2 Bug 1897785 - Update Translations OperationRequestedAction to Not Require a Tab ID r=android-reviewers,giorga
Most calls under `OperationRequestedAction` do not require a tabId because they change
information on the global store and not the session store.

* This patch makes `tabId` an optional for `OperationRequestedAction`
* For the one call, `FETCH_PAGE_LANGUAGES`, that does require a tabId a
sensible default of the current tab will be used and a warning will be logged.

Depends on D210562

Differential Revision: https://phabricator.services.mozilla.com/D210954
2024-05-30 14:08:23 +00:00
ohall-m
105ecb9ad7 Bug 1898520 - Update AC isTranslateProcessing r=android-reviewers,giorga
In bug 1892715 the wait states for translations changed; however,
`isTranslateProcessing` logic did not change. This is to fix `isTranslateProcessing`
to use the longer wait state.

Differential Revision: https://phabricator.services.mozilla.com/D211439
2024-05-27 12:46:53 +00:00
ohall-m
28fa0d8cd1 Bug 1881810 - Download and Delete Translation Models from AC r=android-reviewers,calu,giorga
This patch adds AC changes to allow translation language models to be downloaded
and deleted. Including:
* Adds `ManageLanguageModelsAction` to request changes to language models.
* Adds to the translations state reducer to accommodate state changes when updating.
* Adds `ModelState` to `LanguageModel` in order to capture processing states.
* Adds `ModelUpdateError` as a general area for when the action fails on the engine.

Differential Revision: https://phabricator.services.mozilla.com/D210562
2024-05-23 13:22:46 +00:00
rahulsainani
3e18c5ca8f Bug 1893415 - Convert Downloads list to Compose UI r=android-reviewers,twhite,gl,007
Differential Revision: https://phabricator.services.mozilla.com/D208598
2024-05-16 14:01:28 +00:00
William Durand
d00383a7ed Bug 1893387 - Refactor how required permissions/origins are passed from Gecko to the embedder in exportExtension(). r=amejiamarmol,android-reviewers,robwu,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D208503
2024-05-15 20:35:39 +00:00
ohall-m
6cd07c8608 Bug 1892715 - Part 3: Update Android Components isTranslated Logic r=android-reviewers,giorga
This patch updates Android Components to use the new `hasVisibleChange `
information from the translations engine to better manage translations visible state.

Differential Revision: https://phabricator.services.mozilla.com/D209577
2024-05-07 23:39:55 +00:00
Jeff Boek
6a8372ee6c Bug 1889066 - Adds property to LoadUrlAction to determine if we should include a parentEngineSession when loading a URL r=android-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D206815
2024-05-07 16:14:10 +00:00
Gabriel Luong
e1a1f56f90 Bug 1885628 - Part 3: Refactor getProperUrl into an extension function TabSessionState.getUrl r=android-reviewers,harrisono
- This refactors `getProperUrl` that was introduced in https://github.com/mozilla-mobile/fenix/pull/16181 into an extension function that lives in AC.
- This function will fetch the correct URL to be used when handling features such as bookmarks or share regardless of what mode the browser might be in (e.g. Reader mode).

Differential Revision: https://phabricator.services.mozilla.com/D208215
2024-05-05 08:20:45 +00:00