Commit Graph
2466 Commits
Author SHA1 Message Date
samartnik daba95ebfe [Android] Removed unused proguard rules for tests 2022-08-23 00:19:32 -04:00
samartnik 9c0b3d37db [Android] New c-tor signature for ToolbarManager 2022-08-23 00:19:31 -04:00
samartnik ac77c8751d [Android] Disabled dynamic colors for settings
Dynamic colors cause styling issues with Brave theme, thus disabling it.

Chromium change:
https://github.com/chromium/chromium/commit/0724204a4d72acc143902ddc5594a725bb931696

Migration of all cached flags from the Chrome/android/java
folder.

This CL will safely migrate all utilizations cachedFeatureFlags#isEnabled(feature)
in Chrome/android/java/ to use the isEnabled method defined for the CachedFlag object instead.

Bug: 1322153
2022-08-23 00:19:06 -04:00
samartnik 76325e72f2 [Android] New param for clobberCurrentTab
Chromium change:
https://github.com/chromium/chromium/commit/47c3fd7b00c12e5fe3b0cc263f58e6e6be9d98f3

Redefine what constitutes a redirect in RedirectHandler
I've started using the terminology "navigation chain" as "redirect" is
far too overloaded a term. Before this change, RedirectHandler tries to
figure out what constitutes a new navigation started by the user, which
ends up being super complicated and sometimes incorrect as it looks at
when the user last touched the screen (which could break up what
should have been considered a navigation chain).

Instead, this change defines anything coming from the renderer without
a user gesture (and server redirects) as part of the navigation chain.

I don't expect this to break any web pages, but will be launching
with a finch flag to restore the old behavior in case things
unexpectedly break.

For testing purposes, the finch flag will be on for bots API level N
and below, and off for API level above N, so both paths get bot
coverage.

I also marked fallback URL navigation as renderer initiated, as this
more closely matches reality (the navigation and URL were initiated by
the renderer), and matches the previous implementation which did
consider fallback URLs as part of the same navigation chain.

It's also worth noting that WebLayer, prior to this change, already
doesn't use the user touching the screen to reset the navigation chain.
This change should better align Chrome and WebLayer on External
Navigation handling.

Bug: 1288578
2022-08-23 00:18:54 -04:00
samartnik 1ab84dfae7 [Android] Changes for SiteSettings delegate
Chromium change:
https://github.com/chromium/chromium/commit/095b5c22035407cae337a0f0ac1570caa24e55f1

Privacy Sandbox Settings: Use bookmark-style favicons in settings
Add LargeIconBridge to settings to format the favicon in SiteSettings
and Ad Personalization settings the same as in e.g. bookmarks.

Screenshot: https://crbug.com/1336174#c3
Bug: 1336174, 1334933
2022-08-22 22:22:54 -04:00
samartnik 58c07b718d [Android] NTP adjustments
Chromium change:
https://github.com/chromium/chromium/commit/915a073c1b6b10dacb07edd2516b6bb05f24cd51

[Search Resumption] Add search resumption layout.
In this CL, we add the layout of the search resumption module.
Additionally, add a string IDS_SEARCH_RESUMPTION_MODULE_TITLE.

UX spec:
https://www.figma.com/file/SpRarIfqrDIEu4qPJkZPJv/Clank-Start-Next?node-id=114%3A18839

Mock:
go/search_resumption_module_mocks

Bug: 1332596
2022-08-22 22:22:46 -04:00
samartnik 76b7fb8fa0 [Android] Changes for various c-tor signatures 2022-08-22 22:22:45 -04:00
Serg 325fff2216 Fixes after code review 2022-08-22 16:13:39 -04:00
Serg bdff1e2083 Makes wallet observers implementations separate from Activities and Fragments on Android 2022-08-22 16:13:39 -04:00
Deep Pandya a5d9203277 Merge pull request #14712 from brave/resolve_vpn_issue_for_p3a
Resolve p3a related issue for VPN
2022-08-22 13:09:20 -04:00
Anton Paymyshev 5bc7bc546d Allow selecting rpc url (#14104)
* allow selecting network

* addressed review comments
2022-08-19 16:48:27 +07:00
deep 1dfeb3e55d REsolve p3a related issue for VPN 2022-08-19 00:22:38 -04:00
Pavneet Singh fd38405f3e Merge pull request #14684 from brave/fix-remove-space-from-contract-address
fix(wallet): trim spaces from address
2022-08-18 14:16:43 +05:30
Pavneet-Sing 12754c828b fix(wallet): trim spaces from address
- Code-optimisation
2022-08-17 20:30:25 +05:30
Deep e483961f54 Resolve crash by checking for null 2022-08-17 10:59:30 -04:00
Deep Pandya 084d2ca351 Merge pull request #14607 from brave/brave_rewards_reset_android
Resolve reset rewards feature
2022-08-15 09:43:56 -04:00
Szilard Szaloki e015b962b3 Merge pull request #14536 from brave/sszaloki-24464-remove-support-for-legacy-anonymous-uphold-cards
Removes support for legacy anonymous Uphold cards.
2022-08-12 15:21:17 -05:00
Deep 4014c4ce05 Resolve reset rewards feature 2022-08-12 14:22:51 -04:00
AlexeyBarabash 826c6f8b0d Merge pull request #14402 from brave/sync_dse_android
Sync DSE Desktop <=> Android
2022-08-12 20:59:06 +03:00
Szilard Szaloki bb4de3c4a1 Removes support for legacy anonymous Uphold cards. 2022-08-12 10:44:20 -05:00
AlexeyBarabash 408c37a79a Cleanup STANDARD_DSE_SHORTNAME shared pref 2022-08-12 15:35:32 +03:00
AlexeyBarabash ceff26d476 Override SearchEngineAdapter.didSearchEnginesChange
This allows to refresh DSE chenged by sync in browser settings UI on Android

Bytecode asm test for SearchEngineAdapter.didSearchEnginesChange override
2022-08-12 15:35:32 +03:00
AlexeyBarabash d87b312325 BraveSearchEnginesPreferences fragment reflects normal SE changes from sync 2022-08-12 15:35:32 +03:00
AlexeyBarabash 362af0ade3 Sync of default search engine between Android and Desktop
Android uses native code to save DSE for normal tab
2022-08-12 15:35:32 +03:00
Pavneet-Sing 6fe7c0218d fix(wallet): fix solana transaction crash 2022-08-12 18:05:22 +05:30
Anirudha Bose b6a4d15294 Merge pull request #14298 from brave/f/wallet/jupiter-desktop
Jupiter desktop integration for Solana swaps
2022-08-12 11:05:44 +05:30
Anirudha Bose 5f1095973d Jupiter desktop integration for Solana swaps 2022-08-12 03:03:57 +05:30
deep 02e8a5b7e0 Remove unused resources 2022-08-11 12:24:28 -04:00
deep 15d266ab3f Initial refactoring of old rewards panel 2022-08-11 12:24:27 -04:00
Deep Pandya 3a867d62fd Merge pull request #14581 from brave/split_tunnel_follow_up
Split tunnel follow up
2022-08-11 10:00:58 -04:00
Brian Clifton 740492677b Unfixes https://github.com/brave/bues/21447rave-browser/iss
Revert "Merge pull request #13193 from brave/add_brave_talk_menu_android"

This reverts commit e180d2d036, reversing
changes made to 471411e9ba.
2022-08-11 01:55:42 -07:00
Darnell Andries 667c795f63 Merge pull request #14168 from brave/vpn-usage-p3a-final
Added VPN usage P3A questions
2022-08-10 14:27:56 -07:00
deep 766b055f6a UPdate spli tunnel layout 2022-08-10 16:41:47 -04:00
deep 23373a5a75 Start the tunnel automatically after the settings change 2022-08-10 12:03:31 -04:00
Serg 4313569971 Fixes a crash on Solana icon on Android 6 and 7 2022-08-10 11:19:17 -04:00
Anton Paymyshev 5e6a63b245 Refactor NetworkInfo (#14546) 2022-08-10 15:35:51 +07:00
Darnell Andries 0c58258a8a Added VPN usage P3A 2022-08-09 18:29:43 -07:00
samartnik f8698a57d7 Merge pull request #14554 from brave/android_mono_build_fix
[Android] Fix for mono build linker error
2022-08-09 13:43:06 -04:00
Brian Clifton d2b262ced8 Merge branch 'master' into bsc-android-purchase-token 2022-08-09 10:31:00 -07:00
samartnik 931b7b2085 [Android] Fix for mono build linker error 2022-08-09 12:34:55 -04:00
sujitacharya2005 009d932393 Merge pull request #14398 from brave/FIX_for_23919_fingerprinting_for_language
Fix for 23919 fingerprint for language
2022-08-09 18:45:39 +05:30
Serg 3dc6be6a15 Merge pull request #14538 from brave/android_solana_buy_swap
Hides Solana accounts and network on Buy and Swap on Android
2022-08-09 13:00:31 +01:00
Sujit Acharya d9759aedfc update initial value based on native pref value 2022-08-09 17:12:27 +05:30
Sujit Acharya eb8d8688e5 format code 2022-08-09 17:12:27 +05:30
Sujit Acharya ad557ac163 update test 2022-08-09 17:12:27 +05:30
Tapan Modh b71f6c656f Merge pull request #14350 from brave/search_engine_default_promo_android
omnibox brave search promo banner android
2022-08-09 10:23:29 +05:30
Serg 76887b700d Hides Solana accounts and network on Buy and Swap on Android 2022-08-08 15:31:58 -04:00
Pavneet Singh bf339856a7 Merge pull request #14497 from brave/show-tx-for-default-networks
feat(wallet): show default network tx
2022-08-08 12:45:46 +05:30
Pavneet-Sing 41a421c5a7 feat(wallet): show default network tx
- Auto account create in buysendswap
  - fix set selected network flow with account creation
2022-08-06 01:04:00 +05:30
Serg 596b8c1859 Shows a correct SPL token when Send button is clicked from Asset Details on Android 2022-08-05 14:40:52 -04:00