Commit Graph

69 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
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
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
560c5cc4ca Import translations from android-l10n 2023-12-19 01:58:10 +00:00
github-actions
f8593e994f Import translations from android-l10n 2023-11-11 00:30:35 +00:00
github-actions
486f6bcf0a Import translations from android-l10n 2023-11-08 00:26:58 +00:00
github-actions
8238367002 Import translations from android-l10n 2023-10-15 00:28:30 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +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
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
github-actions
fcef453f37 Import translations from android-l10n 2023-07-20 00:29:36 +00:00
Arturo Mejia
8b238ff494 Reverts "Bug 1815637 - Add rtl support." 2023-07-13 17:55:12 +00:00
Gabriel Luong
664bbcf3df Bug 1840210 - Rename mozac_ic_menu to mozac_ic_ellipsis_vertical_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
7e34831455 Bug 1840210 - Rename mozac_ic_lock to mozac_ic_lock_24 2023-07-10 22:15:49 +00:00
github-actions
087549bfb4 Import translations from android-l10n 2023-07-08 00:33:58 +00:00
github-actions
bb6998ba46 Import translations from android-l10n 2023-06-25 00:31:04 +00:00
github-actions
85b9421d91 Import translations from android-l10n 2023-06-13 01:13:38 +00:00
github-actions
b0e5e3787c Import translations from android-l10n 2023-06-11 00:33:09 +00:00
github-actions
5082665acd Import translations from android-l10n 2023-05-31 00:29:04 +00:00
github-actions
5cb5a04ca9 Import translations from android-l10n 2023-05-15 00:32:34 +00:00
mike a
0f6ee09218 Bug 1815637 - Add rtl support 2023-05-09 18:41:08 +00:00
github-actions
570991db5c Import translations from android-l10n 2023-05-09 00:34:46 +00:00
github-actions
dc5a449c21 Import translations from android-l10n 2023-05-03 00:44:14 +00:00
github-actions
6fdbe40318 Import translations from android-l10n 2023-04-29 00:38:27 +00:00
github-actions
cbcc2058d5 Import translations from android-l10n 2023-04-26 01:24:45 +00:00
github-actions
325ddd8dfd Import translations from android-l10n 2023-04-25 02:51:47 +00:00
github-actions
4f4b08518d Import translations from android-l10n 2023-04-22 01:15:02 +00:00
github-actions
639a0f0c29 Import translations from android-l10n 2023-04-20 03:44:36 +00:00
github-actions
3ed39b4ced Import translations from android-l10n 2023-04-18 00:58:21 +00:00
github-actions
9b4edb6c36 Import translations from android-l10n 2023-04-17 00:34:54 +00:00
github-actions
40d3f4e2e5 Import translations from android-l10n 2023-04-16 00:39:03 +00:00
github-actions
8d5d1e7722 Import translations from android-l10n 2023-04-14 00:35:43 +00:00
github-actions
f64170a973 Import translations from android-l10n 2023-04-13 00:31:18 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +00:00
github-actions
dee4aeeaca Import translations from android-l10n 2023-04-11 00:37:29 +00:00
github-actions
7f204eed10 Import translations from android-l10n 2023-04-08 00:32:46 +00:00
github-actions
00a81b1d9a Import translations from android-l10n 2023-04-07 00:31:29 +00:00
github-actions
ded8bc8dcb Import translations from android-l10n 2023-04-06 00:33:00 +00:00
github-actions
dcb86479b1 Import translations from android-l10n 2023-04-05 13:12:26 +00:00