Commit Graph

430 Commits

Author SHA1 Message Date
github-actions
6c6b842efe Import translations from android-l10n 2023-02-05 00:41:08 +00:00
Mugurell
2d2404905d Bug 1800268 - Add support for refreshing autocomplete when providers change 2023-01-31 11:15:37 +00:00
Mozilla L10n Automation Bot
bd17ff7972 Import l10n. 2023-01-30 01:38:45 +00:00
Mozilla L10n Automation Bot
89d5f65999 Import l10n. 2023-01-28 00:48:05 +00:00
Mugurell
a3a175fdc8 Bug 1812518 - Stop BrowserToolbarBehavior positioning the snackbar
The snackbar is placed depending on the toolbar so the relation should be
reversed. The toolbar should not know about and control the snackbar.
There could be other siblings that the snackbar wants to position itself by
and so removing this responsability from BrowserToolbarBehavior will help
better support current and future flows.
2023-01-26 09:08:13 +00:00
Mozilla L10n Automation Bot
77fdd602c0 Import l10n. 2023-01-26 01:26:00 +00:00
Mozilla L10n Automation Bot
03ff98e03c Import l10n. 2023-01-24 00:54:18 +00:00
Mozilla L10n Automation Bot
44067eb38a Import l10n. 2023-01-22 22:27:02 +00:00
Mugurell
c3737568fa Revert downloads changes for ui tests failures downstream. 2023-01-19 15:44:38 +00:00
Mugurell
7be19533ae Bug 1783561 - Stop BrowserToolbarBehavior positioning the snackbar
The snackbar is placed depending on the toolbar so the relation should be
reversed. The toolbar should not know about and control the snackbar.
There could be other siblings that the snackbar wants to position itself by
and so removing this responsability from BrowserToolbarBehavior will help
better support current and future flows.
2023-01-18 15:22:07 +00:00
Mozilla L10n Automation Bot
6aa374ec4f Import l10n. 2023-01-02 01:31:50 +00:00
Mozilla L10n Automation Bot
46b0f3bb9a Import l10n. 2022-12-31 00:47:57 +00:00
Mozilla L10n Automation Bot
130360184d Import l10n. 2022-12-27 01:01:49 +00:00
Mozilla L10n Automation Bot
eb88d37e79 Import l10n. 2022-12-23 17:38:00 +00:00
Alexandru2909
7fe7868531 Bug 1804260 - Add method to specify the cursor placement when switching to URL editing mode 2022-12-16 08:35:35 +00:00
Rahul Sainani
404306309f Bug 1796301 - Add paddingEnd in OriginView for RTL config (https://github.com/mozilla-mobile/firefox-android/pull/262)
* Bug 1796301 - Add paddingEnd in OriginView for RTL config

* Bug 1796301 - Add license in dimens.xml

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-07 19:28:54 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Alexander Gramiak
bcc43f0530 Bug 1799230 - Use Non-Transitive R Classes
According to Android documentation: "This leads to faster builds and
the corresponding benefits of compilation avoidance."
2022-11-17 18:23:01 +00:00
Mihai Adrian Carare
e087b524a6 Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33. (https://github.com/mozilla-mobile/firefox-android/pull/62)
* Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33.

* Bug 1796353 - Update method signature for View.AccessibilityDelegate.

* Bug 1796353 - Handle AccessibilityNodeInfo.CollectionInfo.obtain deprecation.

* Bug 1796353 - Update method signature for View.OnAttachStateChangeListener.

* Bug 1796353 - Handle getParcelableExtra(String) deprecation.

* Bug 1796353 - Handle getParcelable(String) deprecation.

* Bug 1796353 - Handle getParcelableArrayListExtra(String) deprecation.

* Bug 1796353 - Move URLStringUtils to ktx package.

This is needed to avoid circular dependencies for some needed changes.

* Bug 1796353 - Suppress deprecation for get(String).

* Bug 1796353 - Replace removed method setAppCacheEnabled.

* Bug 1796353 - Handle PackageManager methods deprecations.

* Bug 1796353 - Handle getSerializable(String) deprecation.

* Bug 1796353 - Handle stopForeground deprecation.

* Bug 1796353 - Update method signature for GestureDetector.SimpleOnGestureListener.

* Bug 1796353 - Handle AccessibilityEvent.obtain deprecation.

* Bug 1796353 - Handle getParcelableArrayList(String) deprecation.

* Bug 1796353 - Handle getParcelableArray(String) deprecation.

* Bug 1796353 - Handle getSerializableExtra(String) deprecation.

* Bug 1796353 - Handle readParcelable(classLoader) deprecation.

* Bug 1796353 - Handle FillResponse.Builder setAuthentication deprecation.

* Bug 1796353 - Handle Dataset.Builder setValue deprecation.

* Bug 1796353 - Suppress get(String) deprecation.

We still need to use this method because we do not know the type beforehand.

* Bug 1796353 - Handle onBackPressed() deprecation.

* Bug 1796353 - Suppress queryBroadcastReceivers deprecation.

* Bug 1796353 - Suppress package manager methods deprecation.

* Bug 1796353 - Catch and report exceptions when handling touch event detection.

* Bug 1796353 - Suppress deprecation for getPackageInfo used in tests with SDK 28.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 00:35:40 -05:00
Mozilla L10n Automation Bot
29874a1b39 Import l10n. 2022-11-14 00:22:54 +00:00
mcarare
ef3c3593c1 [components] No issue: Update AndroidX Annotation to the latest version.
Update imports for annotations moved to Companion Object.
2022-10-25 19:19:29 +00:00
sarah541
50cbdca863 [components] Create extension for truncating urls 2022-10-19 17:04:43 +00:00
Gabriel Luong
d9d783b698 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12939: Address all ktlint issues 2022-10-17 17:07:40 -04:00
Mozilla L10n Automation Bot
1b14baec2a [components] Import l10n. 2022-09-08 00:20:22 +00:00
mcarare
6b1a2d5dcb [components] For https://github.com/mozilla-mobile/android-components/issues/12381: Replace VisibleForTesting with @get:VisibleForTesting. 2022-08-31 09:47:47 +00:00
mcarare
97ae5efa57 [components] For https://github.com/mozilla-mobile/android-components/issues/12381: Remove VisibleForTesting annotation.
Values are also accessed from code, not just from tests.
2022-08-31 09:47:47 +00:00
Mozilla L10n Automation Bot
291f58aa12 [components] Import l10n. 2022-08-29 00:25:29 +00:00
Mozilla L10n Automation Bot
ef2b1975c5 [components] Import l10n. 2022-08-28 01:12:33 +00:00
Mozilla L10n Automation Bot
67edbe7d0f [components] Import l10n. 2022-08-16 00:26:25 +00:00
Mozilla L10n Automation Bot
8b96068192 [components] Import l10n. 2022-08-04 00:21:34 +00:00
Ionut Cristian Bedregeanu
3ee69cf3f3 [components] For https://github.com/mozilla-mobile/android-components/issues/12497 - Set the same margin to toolbar background for display as for edit 2022-07-15 04:46:09 +00:00
mcarare
30e5a6f476 [components] For https://github.com/mozilla-mobile/android-components/issues/12402: Run Robolectric with SDK 32. 2022-06-29 16:31:33 +00:00
mcarare
2a1c468edc [components] For https://github.com/mozilla-mobile/android-components/issues/12376: Run Robolectric with SDK 31.
Current Robolectric version does not support SDK 32.
2022-06-28 13:42:14 +00:00
sarah541
a8ca80d2c1 [components] Improve search term performance on the toolbar 2022-06-01 15:51:49 +00:00
Mozilla L10n Automation Bot
df86e312d0 [components] Import l10n. 2022-05-24 00:25:19 +00:00
Mugurell
d78b06b6bf [components] For https://github.com/mozilla-mobile/android-components/pull/11175 - Migrate runBlocking and runBlockingTest to runTest in unit tests
Used `runTestOnMain` where `MainCoroutineRule` was used or needed to be used,
`runTest` elsewhere.

Extra effort for removing all `runBlocking` occurrences in unit tests.
`kotlinx.coroutines.test.runTest` is a test specific API that seems like a more
appropriate way for running tests in a coroutine than the general
`kotlinx.coroutines.runBlocking` api.
2022-05-10 13:45:03 +00:00
Mozilla L10n Automation Bot
8e44ec6a2b [components] Import l10n. 2022-05-08 23:01:10 +00:00
Mozilla L10n Automation Bot
a04407ea38 [components] Import l10n. 2022-05-06 00:18:19 +00:00
Roger Yang
bd452c3d99 [components] Close https://github.com/mozilla-mobile/android-components/issues/12109: Support removing edit action end in edit toolbar 2022-05-05 18:17:09 +00:00
Mozilla L10n Automation Bot
50160eb28f [components] Import l10n. 2022-04-30 00:23:45 +00:00
mcarare
f79d8f4759 [components] For https://github.com/mozilla-mobile/android-components/issues/9684: Check a11y enabled state when sending a11y event. 2022-04-28 10:39:46 +00:00
mcarare
c867f69721 [components] For https://github.com/mozilla-mobile/android-components/issues/9684: Send accessibility event directly.
This removed the need for using a delegate.
2022-04-28 08:33:29 +00:00
mcarare
2275e49731 [components] For https://github.com/mozilla-mobile/android-components/issues/9684: Run tests on sdk 30. 2022-04-28 08:33:29 +00:00
Roger Yang
a51595e683 [components] Close https://github.com/mozilla-mobile/android-components/issues/12008: Support auto hiding edit action end in browser toolbar 2022-04-22 14:57:19 +00:00
Gabriel Luong
7c3dc51b44 [components] Issue https://github.com/mozilla-mobile/android-components/issues/11890: Add a new action container in the EditToolbar 2022-03-24 20:27:23 +00:00
Mozilla L10n Automation Bot
e009629e17 [components] Import l10n. 2022-03-12 00:21:49 +00:00
Mugurell
1f12144020 [components] For https://github.com/mozilla-mobile/android-components/issues/10638 - Remove reflective access to "mSpanSlop" and "mMinSpan"
Removed reflective access to non-public SDK APIs controlling the sensitivity of
the gesture detector following which sparingly and for very short time a
pinch/spread to zoom gesture might be identified first as a scroll gesture and
move the toolbar a little before snapping to it's original position.
2022-03-10 10:51:42 +00:00
Mozilla L10n Automation Bot
61700d4de2 [components] Import l10n. 2022-02-12 00:25:46 +00:00
Mozilla L10n Automation Bot
3b8a78a7a9 [components] Import l10n. 2022-02-05 00:21:10 +00:00
Ionut Cristian Bedregeanu
64ca84523d [components] For https://github.com/mozilla-mobile/android-components/issues/11499 - Update tracking protection icon state
Update the state of tracking protection indicator even when is not displayed
in order to avoid that scenario when the tracking protection became visible later
but its state is not the last one
2022-01-25 07:31:02 +00:00