Commit Graph
3960 Commits
Author SHA1 Message Date
Deep Pandya d277a58500 Merge pull request #23553 from brave/fix_toggle_multiwindow_settings_phone_android
[Android] fix toggle multiwindow settings in phone
2024-05-09 22:33:41 -04:00
Deep Pandya 64a75c7b83 Merge pull request #23556 from brave/remove_brave_shields_feature
Remove brave shields feature
2024-05-09 19:30:49 -04:00
Serg d0930305f1 Merge pull request #23549 from brave/android_syncpref_crash
Adds a null check on FragmentActivity on Sync pref screen on Android
2024-05-09 18:21:25 -04:00
tapanmodh 15dad4bdde fix toggle multiwindow settings in phone android 2024-05-10 02:40:51 +05:30
Serg e0bdaa6dbe Merge pull request #23544 from brave/android_accessibility_crash
Adds try catch to prevent crash when accessibility is off on Android
2024-05-09 16:18:36 -04:00
Serg 02d3c7a181 Adds a null check on FragmentActivity on Sync pref screen on Android 2024-05-09 16:15:49 -04:00
samartnik 9f13e4cf7b Merge pull request #23534 from brave/android_leo_voice_handle
[Android] Added voice handling by Leo
2024-05-09 15:00:06 -04:00
Serg 2639d24f5e Adds try catch to prevent crash when accessibility is off on Android 2024-05-09 14:32:29 -04:00
Artem Samoilenko d39104fecb [Android] Added voice handling by Leo 2024-05-09 13:44:38 -04:00
deeppandya 2bf9ef1db0 Remove map for domains 2024-05-09 13:38:40 -04:00
deeppandya 4c755e14ce Remove brave shields feature 2024-05-09 13:38:37 -04:00
Deep Pandya 6c2f5b2e96 Merge pull request #23523 from brave/add_relaunch_for_shorts
Add relaunch for shorts
2024-05-09 12:49:51 -04:00
Tapan Modh 76fc840b9f Merge pull request #23529 from brave/fix_multiple_window_close_merge_android
[Android] fix multiple windows close/merge
2024-05-09 20:25:30 +05:30
tapanmodh 7cc27094a2 fix multiple windows close/merge android 2024-05-09 16:13:02 +05:30
deeppandya 71b9d3c7da Add relaunch for shorts 2024-05-08 18:30:09 -04:00
Simone Arpe 5413889a3c (Wallet) Add Wallet model null checks (#23502) 2024-05-08 22:21:59 +02:00
deeppandya 180f7b84df Update discount logic 2024-05-08 13:27:55 -04:00
deeppandya 97d49ff6e5 Add changes to dynamically update discount percentage
Add dynamic discount for vpn plans
2024-05-08 13:27:52 -04:00
Simone Arpe 3730edc9b8 (Wallet) Improve checks when truncating full contract address (#23455)
Improve checks when truncating full contract address
2024-05-07 19:29:27 +02:00
Josh LeonardandStephen Heaps c3a6e534af fix(wallet): rename Binance Smart Chain to BNB Smart Chain (#23392)
* fix(wallet): rename Binance Smart Chain to BNB Smart Chain

* Fix iOS for Binance/BNB chain rename

* chore(wallet): fix java formatting

* fix(wallet): resolve java errors

---------

Co-authored-by: Stephen Heaps <steaps.4@gmail.com>
2024-05-06 05:21:35 -06:00
Artem Samoilenko 798973641c [Android] Changes for LogoPolish feature
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/521eda4826c473e9f916163d471c59d40fdc8813

[M125][LogoPolish] Only enable Logo Polish for Google doodle on NTP.

This CL only enables the logo polish and adjust the logo size on NTP
when the logo is a Google doodle.
The behavior will look like this:
For Phone:
https://drive.google.com/file/d/1Sanx-LqGhzA9NjX9RZaKc4JGFyizQm8O/view?usp=sharing&resourcekey=0-G8NxGsD0ZMiwzPdkcb1jxA
For Tablet:
https://drive.google.com/file/d/1mQKFDLFHh8wEbrbvXAIXApiT-jC-Ykup/view?usp=sharing&resourcekey=0-Tk6_0wGgcjLRqTS1aUjVoQ

(cherry picked from commit 4dd30b9213c2d36bf2f4d4e4cf60ad57adf8901b)

Bug: 335276342
2024-05-03 16:55:14 -04:00
Artem Samoilenko 623ffe6c3c [Android] New param for MultiInstanceManagerApi31 class
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/94794635ed8558f2892ff4055c93239492448e68

[TabTearing] Restrict closing empty window after tab reparenting to
desktop windowing mode

Currently, when the only tab in a Chrome window is dragged out and into
another Chrome window in multiwindow mode, the empty source window is
closed. Restrict closing the empty window to desktop windowing mode,
such a window should continue to exist in split screen after tab
reparenting.

Bug: 333411285
2024-05-03 16:54:30 -04:00
Max Karolinskiy a9b5090bb5 Formatting changes. 2024-05-03 16:54:29 -04:00
Artem Samoilenko a4b0bfe18e [Android] Changes for ExternalNavigationHandler startActivity
Chromium change:
https://github.com/brave/chromium/commit/e5167d720ffaaae5565500d1bc62593eb3e266c5

Do not allow repeatedly launching apps for a single user activation
If a site repeatedly navigates through javascript, the first navigation
consumes the user gesture, but subsequent navigations are considered as
on the same navigation chain and so don't need a gesture. We should
make sure to prevent these subsequent navigations from launching apps
if either a previous app was already launched, or failed to launch due
to the app not being installed (so this can't be used as a
fingerprinting vector).

Bug: 330555390
2024-05-03 16:54:26 -04:00
Artem Samoilenko 28ea74269a [Android] Remove static Profile reference from PreloadPagesSettingsBridge
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/bfba779e60ef0e0f78f464c5c5f73bea95902b08

Remove static Profile reference from PreloadPagesSettingsBridge.

Bug: 40254448
2024-05-03 16:54:25 -04:00
Artem Samoilenko c5d045c71f [Android] Minor code adjustments to the C125 upstream changes 2024-05-03 16:54:21 -04:00
Artem Samoilenko 3c7dca4644 [Android] Remove static Profile reference from SafeBrowsingBridge
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/730a670356bfb73984aad1ef97087341c2d31f4e

Remove static Profile reference from SafeBrowsingBridge.

Bug: 40254448
2024-05-03 16:54:20 -04:00
Artem Samoilenko 05448b742a [Android] Clean up modern_grey colors
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/64b58697ff1d27f7f1b742f7043bb27f9e3bee04

Clean up modern_grey colors pt 1

This CL replaces some of the modern_grey* colors with baseline_neutral*
ones.

Bug: 40910276
2024-05-03 16:54:15 -04:00
Artem Samoilenko 3fa7869209 [Android] New c-tor signature for AutocompleteMediator
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/488f76a9b472612bda25d62d31b6321e2b288bbe

[Omnibox] Add translation following omnibox to appearance animation

The suggestions list translation follows the translation of the omnibox
itself, plus an added offset of 12dp*inverse animation progress. This
only applies on the NTP where the omnibox is translated; elsewhere there
is no effect. The translation is reset to 0 on animation end.

Bug: 40933135
2024-05-03 16:54:14 -04:00
Artem Samoilenko 0eee242cf2 [Android] Changes for logo polish for tablet
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4a6ecfb34aa32438b180284a909dcd2db639ce8e

[LogoPolish] Implement logo polish for tablet.

This CL modifies the logo height on tablet when Logo Polish is
activated. The height of the logo is decided by the selected variation.
When using split screen mode on a tablet, the logo's height will remain
at the small setting.

The screenshots are included in the following link:
https://docs.google.com/document/d/16z7y1lXiSJ0sCZ0-UzrXdBC8H2idDrVdVarJ4DIEuho/edit?usp=sharing

Bug: 328769923, 330745894
2024-05-03 16:54:13 -04:00
Artem Samoilenko 48db2d239b [Android] Update toolbar icon tint on activity focus change
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/5baed2df78dc2b19f5a5e1719a16269daee60ca4

[TSLO] Update toolbar icon tint on activity focus change

Update the *ThemeColorProvider classes to observe a top resumed activity
change to update the toolbar icon tints on an activity focus change.
Update TintObserver#onTintChanged to additionally accept an
activityFocusTint that may be used by interested clients to update the
tint in desktop windowing mode as needed.

Demo: http://screencast/cast/NTA1NzI3MjMzNzEzNzY2NHwyYTM4NGQyNy1jNw

Bug: 328054353
2024-05-03 16:54:07 -04:00
Artem Samoilenko 8ab3f39ff4 [Android] Introduce LocationBarEmbedderUiOverrides for visual LocationBar tuning
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/b77cb2dca4937dd0da8d1793c1de1b39ad72876a

Introduce LocationBarEmbedderUiOverrides for visual LocationBar tuning

Bug: 327022541
2024-05-03 16:54:06 -04:00
Artem Samoilenko ad4a25bc55 [Android] Move TabContentManager to chrome/browser/tab_ui
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/8f9443470e9356596b45f0ca9ca929f680a71937

[Refactor] Move TabContentManager to chrome/browser/tab_ui.

In this CL, move the following classes to chrome/browser/tab_ui:
- ThumbnailProvider;
- TabContentManager;
- InvalidationAwareThumbnailProvider.
This continue to remove dependencies of chrome_java in
SingleTabSwitcherOnNtpMediator. This CL contains mechanical changes
only.

Bug: 330574966
2024-05-03 16:54:06 -04:00
Artem Samoilenko 41f7f6ee7f [Android] PersonalDataManager#getInstance removed
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/d4a406d5f740ad95b610805d15b939ca608ed1d3

Remove PersonalDataManager#getInstance

This migrates the remaining clients to the Profile aware APIs.
Where possible, this uses an available Profile but in cases where
that is not possible, it uses getLastUsedRegularProfile #sadness.

Bug: 40689806
2024-05-03 16:54:00 -04:00
Simone Arpe 8e644563bb (Wallet) Display network logo drawables in network selection screen (#23389)
* Add vector assets

* Use vector assets when Wallet data is not available
2024-05-03 17:42:53 +02:00
samartnik 4ea72fee11 Merge pull request #23412 from brave/android_cutom_tabs_menu_position
[Android] Fix for menu position on Custom Tabs
2024-05-03 10:02:19 -04:00
Deep Pandya 135efe1ed3 Remove roboto flex font (#23411) 2024-05-03 14:51:18 +01:00
Simone Arpe 698a7acbbe (Wallet) Implement new unlock screen to access Wallet (#23338)
* Refactor clear clipboard methods and add Javadocs
* Fix null pointer exception when the app is in background
* Remove redundant API check
* Remove unused interface methods
* Perform small refactoring to improve readability
* Remove unused tag
* Move animation drawable to parent class
* Implement custom style for input edit text component
* Implement biometric button
* Rename color using Nala naming convention
* Rename colors following Nala naming convention
2024-05-03 14:36:41 +02:00
Artem Samoilenko 345320e096 [Android] Fix for menu position on Custom Tabs 2024-05-03 08:23:57 -04:00
Deep Pandya dbad7c966e Disable in app update (#23404)
* Disable in app update

* Resolve presubmit error
2024-05-03 11:35:01 +01:00
Tapan Modh 56ba6b26fc Merge pull request #23384 from brave/fix_autofill_hints_crash_android
[Android] fix autofill hints crash
2024-05-03 10:13:50 +05:30
tapanmodh 777421851e fix autofill hints crash android 2024-05-02 16:35:46 +05:30
Serg 553fa5c5c3 Allows Brave to work on devices without Google Play Services on Android 2024-05-01 17:29:53 -04:00
Deep Pandya 00a28ca270 Add exclude LAN traffic config for VPN (#23135) 2024-05-01 14:04:25 -04:00
Deep Pandya eae9f70b9c Vpn always on & kill switch android (#23293)
* Add UI for always on feature

Add roboto flex font

* Add always on tutorial image resources with tab selectors

* Update UI chanegs for always on tutorial

* Add license headers for resources

Update text change with license header
2024-05-01 11:55:05 -04:00
Deep Pandya 573395467a Resolve bottomsheet height for rate brave (#23299)
* Resolve bottomsheet height for rate brave

* Resolve presubmit error

* Remove commented code changes
2024-05-01 11:53:06 -04:00
deeppandya 3da3e68a73 Update in app update snackbar text 2024-04-30 01:27:15 -04:00
deeppandya ee1b85acde Add in app update dialog timing 2024-04-30 01:27:12 -04:00
deeppandya 86d6db6e3a Initial changes for in app update 2024-04-30 01:27:09 -04:00
Serg ed7059eff4 Merge pull request #23330 from brave/android_autofill_crash
Wraps autofill main method to prevent a crash on Android
2024-04-29 18:50:38 -04:00