Commit Graph
2738 Commits
Author SHA1 Message Date
wchen342 d48c8b6f16 Merge pull request #15990 from brave/android_wallet_nft_ui_parity
[Android] Disable click on NFTs; filter accounts for NFTs
2022-11-18 18:34:55 +02:00
wchen342 6536b00f0b [Android] Disable click on NFTs; filter accounts for NFTs 2022-11-18 18:01:48 +02:00
Sujit Acharya f46c129f5e Decimal value is not shown in the Monthly Tip 2022-11-18 13:35:43 +05:30
Anton Paymyshev e9da5c8c59 SNS domain resolving (#15863) 2022-11-18 12:23:35 +07:00
samartnik 8e3d245d1a Merge pull request #16004 from brave/android_ad_ref_code_detection
[Android] Adds additional detection for ad ref code
2022-11-17 17:05:30 -05:00
Artem Samoilenko 6f5b6769dd [Android] Adds additional detection for ad ref code 2022-11-17 15:25:00 -05:00
wchen342 6f2bb35412 [Android] Fix visible asset list checkbox for ERC721 tokens 2022-11-17 15:56:52 +02:00
Sujit Acharya 9f9accf3d3 Enable notification permission from Brave rewards panel 2022-11-15 13:28:12 +05:30
Sujit Acharya 185db2a2eb notification off from brave settings 2022-11-15 12:38:22 +05:30
Sujit Acharya 16d52486e8 show notification permission dialog when geo button continue clicked 2022-11-15 12:38:22 +05:30
Sujit Acharya 8ccc582b2a show notification permission dialog when rewards or privacy is on and clicked notification in brave settings 2022-11-15 12:38:22 +05:30
Sujit Acharya a1bddb3370 update format
update
2022-11-15 12:38:22 +05:30
Sujit Acharya f19b60a306 [Android 13] Notifications - user manually disable notifications 2022-11-15 12:38:22 +05:30
deeppandya 974413b1aa Add fetaure flag for android UI
Resolve CI error
2022-11-14 23:49:52 -05:00
deeppandya 6c9f9cf4c7 CHange dev config to staging in QA pref 2022-11-14 23:49:52 -05:00
deeppandya 031df87c54 Add link subscription dialog 2022-11-14 23:49:52 -05:00
deeppandya 2c647d479b Add link subscription menu 2022-11-14 23:49:52 -05:00
deeppandya 5e66cc73a5 Add qa flag for dev 2022-11-14 23:49:52 -05:00
Sujit Acharya 694471892f Merge pull request #15829 from brave/25593_chrome_notification_dialog
Restyle Chromium enable notifications dialog
2022-11-15 10:12:28 +05:30
Artem Samoilenko 37b1b420f2 [Android] Changes for ToolbarPhone tab switcher animation
Chromium change:
https://github.com/chromium/chromium/commit/81300279c801ec659aa9e9417b0a930db4a06974

[Toolbar] Refactor ToolbarPhone's tab switcher logic
There are three notable changes here:
1. ToolbarPhone is no longer hidden when entering the tab switcher;
   it's only hidden once the transition to the tab switcher finishes.
2. The tab switcher isn't treated as "in overview and showing omniox"
   because a) the omnibox isn't shown in this mode and b) this causes
   visual inconsistencies - e.g. hidden buttons, "search or type web
   address" as the url bar text instead of the url.
3. We suppress captures when entering or in tab switcher mode, since we
   no longer need the capture in this mode.

(cherry picked from commit b6991fa)

Bug: 1360307
2022-11-14 14:11:45 -05:00
Artem Samoilenko eef80b6345 [Android] New c-tor signature for TopToolbarCoordinator
Chromium change:
https://github.com/chromium/chromium/commit/65c903d7aa0c4500b8cbfe475951a567125700d8

Suppress top toolbar captures on touch.
Plumbs touch/scroll events from CompositorViewHolder to the top
toolbar adapter. This captures to be blocked during scroll. In order
to prevent old captures from being shown during this window, on demand
controls locking is used. This must be done as fast as possible, when
the touch starts, not when the render frame is being created,
otherwise artifacts are visible.

(cherry picked from commit 6136f92)

Bug: 1374427
2022-11-14 14:11:45 -05:00
Artem Samoilenko f608ae732c [Android] New c-tor signature for LocationBarCoordinator
Chromium change:
https://github.com/chromium/chromium/commit/dceef00f26a0a2cfefbca89fd7655a0a26427133

[Omnibox] Change toolbar and locationbar color when dropdown is scroll
There is a color change applied to the top toolbar and status bar from
Surface 1 to surface 2 when users scroll down the Omnibox dropdown list.

(cherry picked from commit 0e206d1)

Bug: 1375889
2022-11-14 14:11:38 -05:00
Claudio DeSouza ae1d439da3 Lint formatting issues fixes
It appears that some PR merged into master has caused linting errors,
relating to Java formating.
2022-11-14 14:11:38 -05:00
Artem Samoilenko a48d85991e [Android] Fixes for lint issues II
Chromium change:
chromium/chromium@b5793f2

Opt-in predictive back gesture navigation on Android T
After flag is enabled, keycode_back will not be sent any more on
Android T. And so any components relying on keycode_back
must use BackPressManager on T.

FindToolbar and UrlBar will intercept back press in ChromeActivity's
handleBackPressed if BackPressManager is disabled on T+.
https://crrev.com/c/3920153

SearchActivity will opt in predictive back gesture on T+ no matter if
BackPressManager is enabled .

Demo: https://drive.google.com/file/d/1qnFx-e9YJdLo78T61sSJ5Oi1HiQ5CVuP/view?usp=sharing&resourcekey=0-DpSpUjine4qMpZ7b8Uxfew

Bug: 1279941
2022-11-14 14:11:33 -05:00
Artem Samoilenko 0d667af5e1 [Android] BookmarkBridge replaced with BookmarkModel
Chromium change:
https://github.com/chromium/chromium/commit/d1b2275870288ec533ec7cbf01dd51de4a31ba47

[Fixit][Bookmarks] Replacing BookmarkBridge with BookmarkModel except…
… for JNI mocks

Change-Id: I8e25d4a4b6d7e67982812fd4c623c480fae4150a
2022-11-14 14:11:18 -05:00
Artem Samoilenko 961b4da53c [Android] Fixes for lint issues
Chromium change:
https://github.com/chromium/chromium/commit/b5793f250f73c63638bbf237494bd3403217aec1

Opt-in predictive back gesture navigation on Android T
After flag is enabled, keycode_back will not be sent any more on
Android T. And so any components relying on keycode_back
must use BackPressManager on T.

FindToolbar and UrlBar will intercept back press in ChromeActivity's
handleBackPressed if BackPressManager is disabled on T+.
https://crrev.com/c/3920153

SearchActivity will opt in predictive back gesture on T+ no matter if
BackPressManager is enabled .

Demo: https://drive.google.com/file/d/1qnFx-e9YJdLo78T61sSJ5Oi1HiQ5CVuP/view?usp=sharing&resourcekey=0-DpSpUjine4qMpZ7b8Uxfew

Bug: 1279941
2022-11-14 14:11:18 -05:00
Artem Samoilenko 3889da2d9b [Android] Experimental explore sites were removed from NTP
Chromium change:
https://github.com/chromium/chromium/commit/64a6f0565ea21723154a58312157541a568aeccf

Remove experimental explore sites code
Bug: 1365676
2022-11-14 14:11:17 -05:00
Artem Samoilenko 82e2944de6 [Android] Boorkmarks code moved to components
Chromium change:

https://github.com/chromium/chromium/commit/af779f133d1a1e9129826015568688bc6de33961

[Fixit][Bookmarks] Extract BookmarkItem to components
This is almost a pure move.
One of the methods used ReadingList related functionality and was
moved to BookmarkUtils.

Bug: 1150129
2022-11-14 14:11:02 -05:00
samartnik a3213888e2 [Android] Various fixes to adjust java code to upstream changes
Chromium changes:
https://github.com/chromium/chromium/commit/f002437bf1838e0915129ccff21bf52a37577a41

[Omnibox] Prevent LocationBar crash when onMeasured entered post dest…
…roy on ToolbarPhone

Bug: 1359257

https://github.com/chromium/chromium/commit/df8db0da2e09b4cae37fa15733a17105b8b568d7

[WebContentsImpl] Don't call didFinishNavigation in child frames
Part of reducing navigation cost to reduce scroll jank. Java observers
don't do work when didFinishNavigation is called in child frames,
so we don't have to notify java in this case.

The changes to restrict didFinishNavigation to main frames is not behind a flag, so to measure the effect on jank, we added a didFinishNavigationNoop function (behind a flag) to mirror what didFinishNavigation did before this change. We think that the overhead from overrides add up to something measurable, so I added a redundant boolean check to make sure this override doesn't get optimized (might get optimized if it's empty but not completely sure). I also wanted it to be as close as possible to what it was doing before, so that we can capture more accurately the effect on jank metrics.

Bug: 1359110

https://github.com/chromium/chromium/commit/a603bf1de79b2a844bb05c6252e5c1e97938f591

Suppress captures in CCT toolbar.
CustomTabToolbar maintains a token object to compare states. Only
allow captures when the previously captured token is different from
the current token.

Bug: 1363389

https://github.com/chromium/chromium/commit/1900d0973093225f3cc844693841b4f15b970a4f

[Start] Add a logo in Start surface below toolbar.
This CL adds a big logo in Start surface (similar to the logo on NTP) when Feed is not shown.
Video: http://shortn/_5DZDGESzIU
Screenshot: https://screenshot.googleplex.com/AbKoKQJy4qPtYVp

The follow-up CLs would be :
1. Fix the omnibox scrolling animation
2. Replace logoView in tasks_view_layout with ViewStub

Bug: 1365694
2022-11-14 14:10:57 -05:00
Sujit Acharya 4243b054dd Restyle Chromium enable notifications dialog 2022-11-14 20:45:11 +05:30
Pavneet Singh c39e66fee6 Merge pull request #15904 from brave/show-wallet-icon
fix(wallet): show icon when switching tab
2022-11-11 22:53:39 +05:30
Serg 02b431ba67 Merge pull request #15906 from brave/android_nft_send_fix
Fixes Solana NFT transfer on Android
2022-11-11 10:11:46 -05:00
Szilard Szaloki 6d807842d9 Merge pull request #15722 from brave/sszaloki-24251-wallet-status-cleanup
`WalletStatus` cleanup, external wallet flows refactor.
2022-11-11 09:18:07 -05:00
Serg a08f7ecae5 Fixes Solana NFT transfer on Android 2022-11-11 08:56:03 -05:00
Szilard Szaloki b5044f4a77 WalletStatus cleanup, external wallet flows refactor. 2022-11-11 08:15:52 -05:00
Pavneet-Sing e10afd71fb fix(wallet): show icon when switching tab 2022-11-11 14:49:53 +05:30
Pavneet Singh b4bc49ea7a Merge pull request #15869 from brave/create-solana-account-from-dapp
feat(wallet): create account via dapp request
2022-11-11 10:30:23 +05:30
Serg 965ca2ff4b Fixes Solana NFT view and removes percentages from a Send screen 2022-11-10 09:37:11 -05:00
Pavneet-Sing fa6b0a14ff feat(wallet): create account via dapp request 2022-11-10 12:43:38 +05:30
Serg 7b0225edfc Adds correct error logging on tx approve, removes unneeded decimals var on send on Android 2022-11-08 15:22:35 -05:00
Serg 31f79ca476 Adds a basic Solana NFT support on Android 2022-11-08 15:22:35 -05:00
wchen342 212ac0cd18 Add separate JNI getter for OTR profile based TemplateUrlService 2022-11-08 06:07:25 +02:00
Serg 7f728522a5 Adds extra validations on a wallet sign message screen on Android 2022-11-04 20:39:56 -04:00
Deep Pandya e9b143aa0d Merge pull request #15809 from brave/dp_settings_option_brave_translate
Add settings option to enable/disable brave translate
2022-11-04 17:30:14 -04:00
deeppandya 69829ccd1a Add settings option to enable/disable brave translate 2022-11-04 14:36:09 -04:00
Pavneet-Sing 5359a43776 fix(wallet): show etld on sign panel 2022-11-04 15:44:32 +05:30
deeppandya aec0a754e6 Add search onboarding exception for BR and AR 2022-11-03 13:58:56 -04:00
Pavneet Singh 7d63dfc297 Merge pull request #15763 from brave/fix-tx-account
fix(wallet): transaction network and address
2022-11-03 11:09:05 +05:30
Serg ee9b0b32bd Merge pull request #15773 from brave/android_vpn_preference
Fixes a crash on dynamically added vpn preference on Android
2022-11-03 00:15:07 +00:00
Deep Pandya bbde46a08f Merge pull request #15064 from brave/quick_action_widget
Quick action widget
2022-11-02 18:59:29 -04:00