Commit Graph

316 Commits

Author SHA1 Message Date
Michael Comella
89c283dac1 [components] For https://github.com/mozilla-mobile/android-components/issues/9638: name threads in Executors.new* calls.
I omitted:
- Store, as its a super-class
- Fennec migration code
2021-02-10 00:35:59 +00:00
Mozilla L10n Automation Bot
7e33126940 [components] Import l10n. 2021-02-07 00:18:28 +00:00
Mozilla L10n Automation Bot
814ac109c3 [components] Import l10n. 2021-02-06 00:14:29 +00:00
Mugurell
ed4e7b96af [components] For https://github.com/mozilla-mobile/android-components/issues/7718 - Unify BrowserToolbar and EngineView behaviors
Allow clients to offer the same UX in regards to the dynamic toolbar feature
offered by our `BrowserToolbar` and `EngineView` when used together.
Going further this will ease development and ensure the best UX for users.
2021-02-05 15:16:21 +00:00
Mozilla L10n Automation Bot
9bd22333d0 [components] Import l10n. 2021-02-05 00:27:06 +00:00
Mozilla L10n Automation Bot
a33cd93564 [components] Import l10n. 2021-02-04 18:02:54 +00:00
Roger Yang
dcd57ecc3c [components] Closes https://github.com/mozilla-mobile/android-components/issues/9528: Exposes BrowserMenu dismiss through BrowserToolbarMenu 2021-01-28 10:14:24 +00:00
Mozilla L10n Automation Bot
0245ee0aeb [components] Import l10n. 2021-01-26 00:18:52 +00:00
Arturo Mejia
53add50756 [components] Closes https://github.com/mozilla-mobile/android-components/issues/9378: Add dot notification to the toolbar 2021-01-18 16:19:32 +00:00
Mozilla L10n Automation Bot
3275e0549d [components] Import l10n. 2021-01-15 00:21:45 +00:00
Mozilla L10n Automation Bot
987792e889 [components] Import l10n. 2021-01-09 00:18:41 +00:00
Mozilla L10n Automation Bot
9960968c95 [components] Import l10n. 2021-01-07 00:17:42 +00:00
Mozilla L10n Automation Bot
c382415703 [components] Import l10n. 2021-01-05 00:18:25 +00:00
Sebastian Kaspari
d299aacf7b [components] Update Kotlin to 1.4.21 and Coroutines to 1.4.2. 2021-01-04 11:05:40 +00:00
Mozilla L10n Automation Bot
fef3583c30 [components] Import l10n. 2021-01-04 00:17:29 +00:00
Mozilla L10n Automation Bot
e3d5db37d7 [components] Import l10n. 2021-01-03 00:18:22 +00:00
Mozilla L10n Automation Bot
a1e9b37781 [components] Import l10n. 2021-01-02 00:19:16 +00:00
Mozilla L10n Automation Bot
e8b80ceb3b [components] Import l10n. 2020-12-31 00:19:18 +00:00
Mozilla L10n Automation Bot
a074547dd9 [components] Import l10n. 2020-12-29 00:20:41 +00:00
Mozilla L10n Automation Bot
990105fd51 [components] Import l10n. 2020-12-28 00:16:56 +00:00
Mozilla L10n Automation Bot
430b94cb41 [components] Import l10n. 2020-12-27 00:17:27 +00:00
Mozilla L10n Automation Bot
e6368dc807 [components] Import l10n. 2020-12-24 00:20:09 +00:00
Arturo Mejia
4680362d15 [components] Reduce space between permission and security indicators 2020-12-18 21:55:21 +00:00
Arturo Mejia
9ab4e5df69 [components] Closes https://github.com/mozilla-mobile/android-components/issues/9261: Remove extra space when the permission_indicator is gone 2020-12-18 21:55:21 +00:00
Arturo Mejia
c89fa9273f [components] Closes https://github.com/mozilla-mobile/android-components/issues/9131: Add site permission indicators
in the toolbar.
2020-12-10 10:46:28 +00:00
Sebastian Kaspari
b067fd7e21 [components] Fix new lint errors after AndroidX update. 2020-12-02 12:17:31 +00:00
Mozilla L10n Automation Bot
0556fe0333 [components] Import l10n. 2020-11-12 00:14:35 +00:00
Sebastian Kaspari
c56f79ca03 [components] Revert "Import l10n." (lint errors)
This reverts commit 8942f787ed901de4a170f436ba843918c9900966.
2020-11-11 16:31:53 +01:00
Mozilla L10n Automation Bot
f0aad721ff [components] Import l10n. 2020-11-11 14:41:19 +00:00
Mozilla L10n Automation Bot
665146892b [components] Import l10n. 2020-10-31 00:21:41 +00:00
Mugurell
e23f7a6774 [components] For https://github.com/mozilla-mobile/android-components/issues/8305 - BrowserToolbarBottomBehavior - browserToolbar null check
In some scenarios BrowserToolbarBottomBehavior could be set for a layout which
doesn't contain a BrowserToolbar or where such a view has Visibility.GONE
(like in the case of PWAs).
Protect against the behavior still trying to animate the toolbar which at that
time might be be null.
2020-10-28 16:50:26 +00:00
ekager
e8660395e9 [components] For https://github.com/mozilla-mobile/android-components/issues/8700 - Do not tint TrackingProtectionIconView when animatable 2020-10-15 22:13:36 +00:00
Jeff Boek
d0d96daa95 [components] For https://github.com/mozilla-mobile/fenix/issues/14557 - Adds API to add click listener to icon view 2020-10-14 11:38:28 +00:00
Mozilla L10n Automation Bot
35c8de4ab5 [components] Import l10n. 2020-10-05 00:29:08 +00:00
Mozilla L10n Automation Bot
51662a3fe3 [components] Import l10n. 2020-10-04 00:25:33 +00:00
Mugurell
dd07185cce [components] For https://github.com/mozilla-mobile/android-components/issues/8356 - Null check down event in BrowserGestureDetector
Last ditch effort to prevent against crashes caused by ACTION_DOWN event being
null in GestureDetector.SimpleOnGestureListener#onScroll.

We can use the fact that the parameters are platform types and so can consider
the first parameter (that should be the ACTION_DOWN MotionEvent) being null so
that we won't automatically crash in such situations.
This will result in the toolbar not being animated as a result of a scroll
gesture by the user.

More investigations about why the ACTION_DOWN event is null are to be done in
android-components/issues/8552.
2020-10-02 06:05:35 +00:00
Mozilla L10n Automation Bot
b427b25d68 [components] Import l10n. 2020-09-25 00:22:10 +00:00
MozLando
3527f33d35 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8307
8307: For https://github.com/mozilla-mobile/android-components/issues/8305 - Initialize browserToolbar in onLayoutChild r=Amejia481 a=Mugurell

Speculative fix that moves the initialization to another method that should
also be called before the user can interact with the toolbar.




Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2020-09-11 13:41:56 +00:00
MozLando
4826505072 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8357
8357: For https://github.com/mozilla-mobile/android-components/issues/8356 - Speculative fix for BrowserGestureDetector IAE r=pocmo a=Mugurell

Try to resolve a situation in which system's GestureDetector calls us as a
callback with null parameters, so triggering an IllegalArgumentException.
A possible explanation could be that not all MotionEvents are passed to the
GestureDetector, situation which this patch tries to fix.




Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2020-09-11 10:08:37 +00:00
Mugurell
a2aa2df239 [components] For https://github.com/mozilla-mobile/android-components/issues/8356 - Speculative fix for BrowserGestureDetector IAE
Try to resolve a situation in which system's GestureDetector calls us as a
callback with null parameters, so triggering an IllegalArgumentException.
A possible explanation could be that not all MotionEvents are passed to the
GestureDetector, situation which this patch tries to fix.
2020-09-09 12:49:00 +03:00
Mozilla L10n Automation Bot
f67c8d27e1 [components] Import l10n. 2020-09-09 00:05:30 +00:00
Mugurell
3f2dd9d77f [components] For https://github.com/mozilla-mobile/android-components/issues/8305 - Initialize browserToolbar in onLayoutChild
Speculative fix that moves the initialization to another method that should
also be called before the user can interact with the toolbar.
2020-09-01 15:38:25 +03:00
Tiger Oakes
296a5007f7 [components] Fix failing toolbar menu test 2020-08-24 08:49:47 -07:00
Kirill Rakhman
5e13b69faf [components] Closes https://github.com/mozilla-mobile/android-components/issues/6813 Awesomebar: Add ability to accept suggestion from search completion without submitting 2020-07-31 18:29:40 +02:00
Tiger Oakes
a2dda76fac [components] Add nested menu functionality 2020-07-24 09:32:40 -07:00
Tiger Oakes
e83cf8b1d2 [components] Create new menu2 component
browser-menu v2: A new browser menu designed to work with lib-state.

This introduces a new API using immutable data classes to represent
options. Stateful functionality like the two-state button is replaced
with swapping out data classes and submitting a new list of options.

Internally this uses a recycler view and the view holders intentionally
do not map 1:1 to data classes. This way we can use different views
based on properties instead of introducing all new classes for every
combination of properties.
2020-07-24 09:31:23 -07:00
Mozilla L10n Automation Bot
44e2a0b045 [components] Import l10n. 2020-07-20 00:14:05 +00:00
MozLando
3b64c2ae40 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7610
7610: Format mozac_browser_toolbar_displaytoolbar.xml r=pocmo a=gabrielluong

This fixes an unneeded indentation in `mozac_browser_toolbar_displaytoolbar.xml`



Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-07-15 15:00:45 +00:00
Mozilla L10n Automation Bot
05be1fe837 [components] Import l10n. 2020-07-10 00:29:50 +00:00
Mozilla L10n Automation Bot
b35c3c0b85 [components] Import l10n. 2020-07-09 13:47:36 +00:00