Commit Graph

469 Commits

Author SHA1 Message Date
mcarare
1070e28db0 Bug 1893120 - Run AC Robolectric tests on SDK 34 and adapt tests. r=android-reviewers,webcompat-reviewers,twisniewski,avirvara
Differential Revision: https://phabricator.services.mozilla.com/D209640
2024-05-14 13:00:48 +00:00
acseh
3f4b08c594 Backed out changeset 9976b7730dbd (bug 1893120) for causing lint failures CLOSED TREE 2024-05-14 12:57:36 +03:00
mcarare
4a11afeae1 Bug 1893120 - Run AC Robolectric tests on SDK 34 and adapt tests. r=android-reviewers,webcompat-reviewers,twisniewski,avirvara
Differential Revision: https://phabricator.services.mozilla.com/D209640
2024-05-14 08:02:38 +00:00
Sanchaai Mathiyarasan
14191748d0 Bug 1895379 - Update mozac_ic_private_mode_circle_fill_{20, 24} icons to acorn-icons v1.15.0. r=gl,android-reviewers
Changed icons to match the design spec from the following Figma: https://www.figma.com/file/RFz9fYtotQCQuinwcZujZt/Menu-Redesign?type=design&node-id=8438%3A25585&mode=design&t=ne5yLH20l02Gzw8c-1

For instance, the mozac_ic_private_mode_circle_fill_24 icon was updated from this source: https://github.com/FirefoxUX/acorn-icons/blob/main/icons/mobile/24/xml/ic_private_mode_circle_fill_24.xml
(and a similar change was made to mozac_ic_private_mode_circle_fill_20)

Also updated description of the mozac_ic_private_mode_circle_fill_background_color attribute.

Differential Revision: https://phabricator.services.mozilla.com/D209604
2024-05-08 22:14:17 +00:00
Ryan VanderMeulen
f27c406ee7 Bug 1892162 - Remove deprecated Compat API usage. r=android-reviewers,mcarare
The minimum API level was bumped in the Core 1.13.0 release, leading to
a number of new warnings about deprecated Java API usage which turn
fatal with warnings-as-errors enabled.

Differential Revision: https://phabricator.services.mozilla.com/D207971
2024-04-24 12:47:08 +00:00
Ryan VanderMeulen
3302eb5970 Bug 1888789 - Update Robolectric to version 4.12.1. r=geckoview-reviewers,android-reviewers,mcarare,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D207598
2024-04-17 12:49:02 +00:00
jackyzy823
d007ecc95e Bug 1888378 - Commit url on numpad ENTER too. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D206002
2024-04-16 06:45:22 +00:00
ohall-m
f7a7838246 Bug 1886243 - Adjust Translations Button Color When Inactive r=gl,android-reviewers
This bug adds a color pallette for translations to use on disabled buttons
and in general.

Differential Revision: https://phabricator.services.mozilla.com/D206403
2024-04-08 13:55:54 +00:00
Gabriel Luong
a607f7da13 Bug 1845134 - Part 5: Use the latest acorn-icon source for ic_private_mode_circle_fill icons r=android-reviewers,007
- The original mozac_ic_private_mode_cirle_fill_20 which contained the stroke outline has moved to mozac_ic_private_mode_circle_fill_stroke_20

Differential Revision: https://phabricator.services.mozilla.com/D206455
2024-04-04 04:57:26 +00:00
Gabriel Luong
e59f8368d8 Bug 1845134 - Part 4: Update existing ui-icons to use the latest source from acorn-icons r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D206454
2024-04-04 04:57:26 +00:00
Gabriel Luong
ad8f04aea6 Bug 1845134 - Part 3: Rename mozac_ic_append_up_24 tp mozac_ic_append_up_left_24 r=android-reviewers,007
Refactors mozac_ic_append_up_24 tp mozac_ic_append_up_left_24 and updates the source from acorn-icons

Differential Revision: https://phabricator.services.mozilla.com/D206453
2024-04-04 04:57:25 +00:00
Gabriel Luong
924dedb2f7 Bug 1845134 - Part 2: Import the new acorn-icons r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D206452
2024-04-04 04:57:25 +00:00
Gabriel Luong
de6d91448d Bug 1845134 - Part 1: Remove unused mozac_ic_private_mode_12 r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D206451
2024-04-04 04:57:24 +00:00
Gabriel Luong
519c9f26e0 Bug 1885565 - Part 1: Add mozac_ic_avatar_circle_24 to ui-icons r=android-reviewers,Roger
Source: https://github.com/FirefoxUX/acorn-icons/blob/main/icons/mobile/24/xml/ic_avatar_circle_24.xml

Differential Revision: https://phabricator.services.mozilla.com/D206215
2024-04-01 15:48:07 +00:00
rahulsainani
ebb8ec4e1e Bug 1882108 - Tab strip now scrolls up with content and toolbar r=android-reviewers,007
#### What
Make tab strip part of the container layout that includes toolbat that scrolls up with web content

#### How
– Create a layout that contains tab strip compose view and toolbar, this is selected in `BrowserToolbarView` class when tab strip is enabled and it's not a custom tab.
– Based on the layout, tab strip compose content is called/emitted.
– The said layout's layout params behaviour is set to EngineViewScrollingBehaviour instead of always setting the BrowserToolbar's layout param's behaviour to it as the layout can be a `ToolbarContainerView` containing `BrowserToolbar` or simply `BrowserToolbar`
– The layout is not attached to container on inflation but added explicity in init. This is done, so the layout then references the inflated xml (so it can be used to attached scrolling behaviour) instead of the root in which it is inflated. No behaviour changes in either approach.
– Update `EngineViewClippingBehaviour` to depend on `ScrollableToolbar` interface. So `ui-widgets` module needs to depend on `concept-toolbar`. A bonus here is that now the reflection call is replaced by a type check.
– Update toolbarHeight logic based on custom tab session and toolbar position


#### Further possible refactors and improvements
– Rename `BrowserToolbarView` to `BrowserToolbarContainer` as it's now a container and was never a View but an encapsulation to initialize `BrowserToolbar`
– Investigate making `BrowserToolbarView.view: BrowserToolbar` variable private
– In Settings.kt, `toolbarPosition` should be used by outside callers as opposed to `shouldUseBottomBar`

Differential Revision: https://phabricator.services.mozilla.com/D205201
2024-03-21 16:54:40 +00:00
mcarare
7562dc8765 Bug 1880077 - Switch to using Compose BOM instead of individual versioning 2024-02-22 08:51:53 +00:00
github-actions
b3fc0dc388 Import translations from android-l10n 2024-02-11 01:06:46 +00:00
github-actions
ab1867a36c Import translations from android-l10n 2024-02-09 03:57:17 +00:00
github-actions
71356474b3 Import translations from android-l10n 2024-02-03 00:26:38 +00:00
mike a
2cbd968ba9 Bug 1873260 - Move Behavior classes to ui-widget component 2024-01-31 21:46:09 +00:00
Titouan Thibaud
0ebd0e2416 Bug 1807073 - Prevent pull-to-refresh after scrolling down 2024-01-22 22:30:46 +00:00
Titouan Thibaud
0863d83505 Bug 1854113 - Fix pull-to-refresh triggered after pinch-to-zoom and swipe gesture
Co-authored-by: Hiroyuki Ikezoe <hiroyuki.ikezoe@gmail.com>
Co-authored-by: Jonathan Almeida <git@jonalmeida.com>
2024-01-02 16:26:42 +00:00
github-actions
d09d9537b7 Import translations from android-l10n 2023-12-23 00:37:25 +00:00
github-actions
560c5cc4ca Import translations from android-l10n 2023-12-19 01:58:10 +00:00
mcarare
60d3978145 Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +00:00
github-actions
f8593e994f Import translations from android-l10n 2023-11-11 00:30:35 +00:00
Ryan VanderMeulen
c65ab071b9 Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
Revert "Bug 1863744 - Update Gradle to version 8.4"

This reverts commit 829795632954148709fbe945c78d55cc62053ac8.

Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."

This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.

Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."

This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.

Revert "Bug 1821005 -  Include sourcesJar as an input of publishing."

This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.

Revert "Bug 1821005 - Set compileOptions for android subprojects."

This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.

Revert "Bug 1821005 - Replace deprecated project.buildDir"

This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.

Revert "Bug 1821005 - Exclude generated metrics docs from detekt."

This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.

Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."

This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.

Revert "Bug 1821005 - Add uses-feature tag for camera permission."

This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.

Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."

This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.

Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."

This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.

Revert "Bug 1821005 - Enable generation of the BuildConfig class"

This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.

Revert "Bug 1821005 - Add namespace to samples-glean-library module"

This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.

Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."

This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.

Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."

This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.

Revert "Bug 1821005 - Replace deprecated execResult."

This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.

Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."

This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.

Revert "Bug 1821005 - Upgrade AGP to 8.0.2"

This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.

Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."

This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.

Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."

This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
mcarare
de399dbafa Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules. 2023-11-08 09:10:09 +00:00
github-actions
486f6bcf0a Import translations from android-l10n 2023-11-08 00:26:58 +00:00
Gabriel Luong
a96c744039 Bug 1859887 - Refactor ic_private_mode_circle_fill_48 to ui-icons 2023-11-01 01:13:17 +00:00
Gabriel Luong
11be00c97c Bug 1862246 - Rename mozac_ic_add_to_home_screen_24 to mozac_ic_add_to_homescreen_24 2023-11-01 00:31:28 +00:00
github-actions
8238367002 Import translations from android-l10n 2023-10-15 00:28:30 +00:00
Harrison Oglesby
d3a605b553 Bug 1855737 - New private homescreen mask icon 2023-10-13 19:20:25 +00:00
Gabriel Luong
6bdb2b5b39 Bug 1857139 - Add translation bottom sheet boilerplate 2023-10-09 19:53:02 +00:00
Rocka
a1bc1f0138 ui-autocomplete: correct InputConnection behavior
- override deleteSurroundingTextInCodePoints() as well
- call restartInput() to interrupt setComposingText
2023-10-05 22:02:55 +00:00
Noah Bond
c481877694 Bug 1855571 - Update star rating design 2023-10-03 19:41:21 +00:00
github-actions
4341b9c1f5 Import translations from android-l10n 2023-10-02 01:31:08 +00:00
Noah Bond
1c594d9655 Bug 1854712 - Update information_fill icon 2023-09-27 00:17:42 +00:00
rahulsainani
217ee85e6a Bug 1841600 - Add review checker shopping icons 2023-09-13 09:43:41 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
Jeff Boek
a1a579be30 Bug 1845232 - Adds action to clear private browsing 2023-09-08 03:28:07 +00:00
Noah Bond
05ec9184cd Bug 1851186 - Add new design system color tokens 2023-09-05 20:07:01 +00:00
mcarare
34951bac9d Bug 1847996 - Migrate from kapt to KSP. 2023-09-04 13:48:08 +00:00
Jeff Boek
967a799c3e Bug 1845231 - Adds a mask to the tab counter in private mode 2023-08-30 00:38:40 +00:00
github-actions
7b28ace0bc Import translations from android-l10n 2023-08-29 00:30:14 +00:00
github-actions
4336dc3b52 Import translations from android-l10n 2023-08-16 02:42:30 +00:00
mike a
72c61e750f Bug 1815637 – fixed the crash that was causing the 1839239 bug 2023-08-04 04:32:44 +00:00
mike a
90cc12c255 Bug 1815637 - cherry picking 548379d, the original rtl commit 2023-08-04 04:32:44 +00:00
github-actions
247b67b2df Import translations from android-l10n 2023-07-28 00:58:25 +00:00
Gabriel Luong
2a5e8b2c1e Bug 1840210 - Rename mozac_ic_sync to mozac_ic_sync_24 2023-07-25 23:35:30 +00:00