Commit Graph
1133 Commits
Author SHA1 Message Date
Alex C 792da31a42 [Android] added missing import for BytecodeTest.java 2021-03-29 13:13:13 -04:00
Alex C a96db76e69 [Android] Fixes unresponsive close button from Site Settings options 2021-03-26 18:16:22 -04:00
samartnik 440163f46b [Android] Ctor signature for TopToolbarCoordinator was changed 2021-03-25 13:36:12 -04:00
samartnik 55e2b646a0 [Android] Fixes crash in cardview mode 2021-03-24 10:14:53 -04:00
samartnik 63b7e8826a [Android] Fixed DCHECK in UmaSessionStats
super.onPauseWithNative should be called only once
2021-03-23 16:15:17 -04:00
samartnik a500ee72e0 [Android] Logic for triggerUrlFocusAnimation was updated
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/4781613e02f1769063960ece12181bc1463f7a01

[Start] Update triggerUrlFocusAnimation logic.

Before this CL, when calling triggerUrlFocusAnimation(), the value of
|hasFocus| is set as |!urlHasFocus()| sometimes, which is not easy to
understand. This CL makes the logic more understandable and keeps toolbar
expanded on start surface homepage.

(cherry picked from commit 2effd41efd4d2e06a571f03f96bec7e3dea88e95)

Bug: 1184865
2021-03-23 15:01:29 -04:00
samartnik a12734b07c [Android] Initialize signature was changed for NTP
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/c19bb6cc36a9f43590b44a08eccc913994850c5c

Initial support for camera assisted search with Google Lens in Omnibox and NTP

Design doc:go/lens-chrome-omnibox-ntp
Screenshot: https://screenshot.googleplex.com/5idKZZSfmGxs6ca

Change-Id: Ie799e6186e806d0a21d6f0f17bf83c66bfb242ea
Bug: 1175230,b/180518516
2021-03-23 14:55:38 -04:00
samartnik 298513a978 [Android] TileView moved to components/browser_ui/widget
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/d089c588065dd2f12fe17d9d10b4e1fbbb1c5e20

Move TileView to components/browser_ui/widget

Moving TileView related class to components/browser_ui/widget, and all
related resources files
to make it available for using in launchpad module.

Bug: 1178919
2021-03-23 14:55:34 -04:00
samartnik 0cda510839 [Android] Fix for unit tests 2021-03-23 14:55:26 -04:00
samartnik 5739553bb5 [Android] Signatures for various c-tors were changed 2021-03-23 14:55:24 -04:00
samartnik c4c872cca5 [Android] C-tor signature for PendingIntentProvider was changed
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/e9873df7cb167c263743645842763c7d2a48ed51

Android notification: NotificationInterceptor now considers request code.

The original request code should be considered as well when computing
the unique hash code for the wrapped PendingIntent in notification
trampoline logging layer.

Bug: 1174592
2021-03-23 14:55:16 -04:00
samartnik 33dc6a166a [Android] C-tor signatures were changed 2021-03-23 14:55:12 -04:00
samartnik e3fe679dce [Android] FeatureHighlightProvider was removed
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/d08ceac7afccb16fc18e8e29d05f6cb9e1c5043d
Remove unused FeatureHighlightProvider.java

Bug: 907617
2021-03-23 14:55:12 -04:00
mkarolin 30d4a807d6 Formatting fixes. 2021-03-23 14:55:07 -04:00
samartnik ec207288fa [Android] Fixed lint error
Fixes error
../../brave/android/java/org/chromium/chrome/browser/app/BraveActivity.java:169: Error: Overriding method should call super.onPauseWithNative [MissingSuperCall]
2021-03-23 14:55:05 -04:00
samartnik b975957bab [Android] Removed new section in settings
It is not used in Brave at the moment

Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/a8c85be9b64f54fe88ae0b25206451cc983bf237

Safety check on Android: enabled on ToT

Bug: 1070620
2021-03-23 14:55:04 -04:00
samartnik 232079b296 [Android] Toolbar code was reorganized
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/bfdfa6488a2a0babca504fd614b43eb54fc0d864

Toolbar: Remove deps on feature flags

Removes the dependencies on the following flags. They are now passed
from ToolbarManager through ctors/setters:

- TabUiFeatureUtilities.isGridTabSwitcherEnabled()
- TabUiFeatureUtilities.isTabToGtsAnimationEnabled()
- StartSurfaceConfiguration.isStartSurfaceEnabled()
- VrModuleProvider.getDelegate().isInVr()

This change allows following toolbar classes to be in the modularized
target:

- NewTabButton
- ProgressAnimationSmooth
- ToolbarProgressBar/Test
- LoadProgressCoordinator MVC/Test
- TabSwitcherButtonCoordinator MVC
- TopToolbarOverlayCoordinator MVC
- TopToolbarSceneLayer

Bug: 1127732
2021-03-23 14:55:03 -04:00
samartnik b6ddfff33c [Android] tab_switcher_toolbar.xml was moved
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/afd16b5973b054f53733695ce33708ef430a0b83

Toolbar: Remove deps on TrackerFactory

Removes deps on TrackerFactory in ToolbarTabControllerImpl and
move it to the modularized toolbar/. There are a few more classes
that can also be moved:

ToolbarTabControllerImplTest.java
ToolbarTabControllerImpl.java
top/IncognitoSwitchCoordinator.java
top/IncognitoSwitchProperties.java
top/IncognitoSwitchViewBinder.java
top/TabSwitcherActionMenuCoordinator.java
top/TabSwitcherActionMenuRenderTest.java

Bug: 1127732
2021-03-23 14:55:02 -04:00
samartnik a5db974d56 [Android] Fixes color for shields background 2021-03-22 17:03:52 -04:00
samartnik 4caf5eb56b Merge pull request #8308 from brave/android_tab_groups_fix
[Android] Fixes Tab Groups controls behaviour on tab closing
2021-03-22 11:05:59 -04:00
samartnik 01a39dba3e [Android] Fixes Tab Groups controls behaviour on tab closing 2021-03-19 17:18:11 -04:00
AlexeyBarabash 0b03da8608 Empty icons for cards flip operations
Fixes brave/brave-browser#9867
2021-03-19 18:43:35 +02:00
Brian R. Bondy b31185e875 Revert "Merge pull request #8299 from brave/revert_8257"
This reverts commit 96aebb9ee6, reversing
changes made to 7e073b26c1.
2021-03-18 20:26:48 -04:00
Brian R. Bondy 96aebb9ee6 Merge pull request #8299 from brave/revert_8257
Revert "Merge pull request #8257 from brave/ipfs-android"
2021-03-18 19:14:46 -04:00
samartnik 7e073b26c1 Merge pull request #8297 from brave/android_shields_button_state
[Android] Updates shields button state on changing toolbar variations
2021-03-18 19:06:57 -04:00
Jocelyn Liu 25a3c5c48d Revert "Merge pull request #8257 from brave/ipfs-android"
This reverts commit 534a1e122d, reversing
changes made to 103be2b8c1.
2021-03-18 14:02:59 -07:00
samartnik 1a1a693583 [Android] Updates shields button state on changing toolbar variations 2021-03-18 16:19:29 -04:00
Brian R. Bondy 7f0bc31b89 Add IPFS gateway support on Android 2021-03-17 13:09:14 -04:00
Deep Pandya f5091101ce Merge pull request #8235 from brave/fix_nightly_custom_notification_android
Fix custom notification
2021-03-12 17:54:58 -05:00
Deep Pandya 82a47a6dd4 Merge pull request #8236 from brave/add_bottom_margin_NTP_SI_android
Add bottom margin
2021-03-12 17:54:26 -05:00
samartnik 460d8335f4 Merge pull request #8227 from brave/android_reconcile_tab_groups
[Android] Reconciles Tab Group feature with bottom toolbar
2021-03-12 14:53:18 -05:00
wchen342 1be4e404ca Merge pull request #8218 from brave/jni-call-fix
Fix deprecated jni calls (preparation for bundles)
2021-03-12 19:30:48 +02:00
Deep 1023dc7353 Add bottom margin 2021-03-12 12:11:24 -05:00
samartnik ccfd2dcb17 [Android] Changes icon for new tab in Tab Groups 2021-03-12 12:11:17 -05:00
Deep 738df23941 Fix custom notification 2021-03-12 11:27:35 -05:00
Deep Pandya 3a39cdf265 Merge pull request #8173 from brave/remove_warning_android
Remove warning android
2021-03-12 10:03:00 -05:00
wchen342 0724ac82dc Fix deprecated jni calls 2021-03-12 13:58:52 +02:00
samartnik 45fedd4e16 [Android] Reconciles Tab Group feature with bottom toolbar 2021-03-11 16:26:33 -05:00
Deep Pandya 52dcdde0ab Merge pull request #8174 from brave/add_check_for_IsRewardsEnabled_android
Add check for rewards enabled
2021-03-10 21:06:15 -05:00
Deep Pandya 1f527d2e9e Merge pull request #7834 from brave/change_text_color_ac_panel_android
Change text color for AC panel
2021-03-10 17:51:17 -05:00
samartnik 31695a6925 Merge pull request #8187 from brave/remove_safe_browsing_help_option_android
Remove safe browsing help option
2021-03-10 11:37:05 -05:00
samartnik 7ca49a75a4 [Android] Changes for disabling safe browsing extended reporting 2021-03-10 10:14:31 -05:00
Kevin Smith adf5ce98dd Merge pull request #8177 from brave/ksmith-bap-alert-freq
Change BAP deprecation alert frequency to 1 day
2021-03-09 15:01:55 -05:00
Deep 80335f9994 Remove test for safe browsing bytecode 2021-03-09 12:53:23 -05:00
Deep e719c5eec1 Address PR comments 2021-03-09 12:51:34 -05:00
Deep 13fbacbf2f Update BAP modal frequency to 1 day 2021-03-09 11:43:14 -05:00
samartnik 7309e0e1cf [Android] Fixes crash from play store 2021-03-09 10:36:34 -05:00
Deep 9e6a7b7a78 Remove safe browsing help option 2021-03-09 01:07:48 -05:00
Deep b5072a9728 Add check for rewards enabled 2021-03-07 23:33:16 -05:00
Deep b289ba1c97 Fix banner activity issue 2021-03-07 19:14:02 -05:00