Commit Graph
1813 Commits
Author SHA1 Message Date
Serg 07111d703a Adds transactions list into Accounts screen on Android 2021-11-18 13:21:04 -05:00
Serg ecf00ded50 Opens transactions in a corresponding block explorer 2021-11-18 13:21:04 -05:00
Serg e2e0e59f0c Adds tx history on Assets screen on Android 2021-11-18 13:21:04 -05:00
Serg 21a8f9e4c4 Adds tx history per asset on Android 2021-11-18 13:21:04 -05:00
wchen342 5c9db86765 Confirmation text locale 2021-11-18 04:23:17 +02:00
wchen342 d5feec25c0 Remove activity; mojo autolock time 2021-11-18 02:53:55 +02:00
wchen342 a3c9fe2eb2 Add Wallet Settings 2021-11-18 02:53:54 +02:00
wchen342 e741253c74 Move Wallet menu item 2021-11-18 02:52:55 +02:00
AlexeyBarabash e067befb1f Show diff settings on buy/send/swap screen on diff networks
fixes brave/brave-browser#18951
2021-11-17 22:00:09 +02:00
samartnik b75f3c62ca [Android] [Android] Removed obsolete resource for clear data option 2021-11-15 21:44:20 -05:00
Brian Clifton 60ee16fdc6 Removed logic which was backfilling a default value for P3A
Fixes https://github.com/brave/brave-browser/issues/19324
2021-11-12 17:11:45 -07:00
AlexeyBarabash 0a152d0975 Show account's assets on Account screen
fixes brave/brave-browser#19108
2021-11-11 21:22:10 +02:00
Serg df8707fdeb Merge pull request #10959 from brave/android_wallet_private_key
Android wallet private key
2021-11-09 16:02:15 -05:00
Serg e9c4b1a0c9 Shows a private key for secondary accounts 2021-11-09 14:33:35 -05:00
Serg 3a5bb5296e Adds close to mojo Interfaces 2021-11-09 13:16:14 -05:00
AlexeyBarabash 01ebd04c8a Merge pull request #10952 from brave/android_sync_dialog_resume
Dismiss sync warning after timeout on scanning QR code
2021-11-09 15:57:40 +02:00
AlexeyBarabash ede089c988 Dismiss sync warning after timeout on scanning QR code
fixes brave/internal#826
2021-11-09 12:44:48 +02:00
Serg 7b0ee78788 Merge pull request #10910 from brave/android_wallet_qr_scan
Adds qr reader to a send to address on Android wallet
2021-11-08 16:40:56 -05:00
Serg 0f64705666 Removes BarcodeTrackerFactory deps from Activity and PreferenceFragmentCompat 2021-11-08 15:11:28 -05:00
AlexeyBarabash fa28225b3d Sync confirmation alert on Android is proper cancelable by touch from outside
fixes brave/internal#825
2021-11-08 17:07:03 +02:00
Serg 0e596e9496 Adds qr reader to a send to address on Android wallet 2021-11-05 14:05:14 -04:00
AlexeyBarabash 6c197c6f90 Merge pull request #10899 from brave/a_w_crash_on_history
Fixed crash on empty history prices
2021-11-05 16:21:00 +02:00
AlexeyBarabash 1ab567ebb9 Fixed crash on empty history prices 2021-11-05 14:50:42 +02:00
AlexeyBarabash cd141cc8c2 Merge pull request #10890 from brave/sync_warn_android
Show warning on Android before enter existing sync chain
2021-11-05 13:45:43 +02:00
AlexeyBarabash dbce841495 Prevent show security warning more than once when scanning QR code 2021-11-05 10:50:47 +02:00
AlexeyBarabash de6fec3a1c Show warning on Android before enter existing sync chain 2021-11-05 01:28:43 +02:00
Serg 58c4c45223 Merge pull request #10886 from brave/android_network_icons
Adds icons on Android wallet network selection
2021-11-04 18:05:22 -04:00
Serg 9f0e095c9a Adds icons on Android wallet network selection 2021-11-04 16:12:29 -04:00
AlexeyBarabash 1474862137 Merge pull request #10830 from brave/a_w_portfolio_ui_fixes
Show Android portfolio balance percentage trend
2021-11-04 18:30:41 +02:00
AlexeyBarabash 59fba2e538 Replaced contract addresses on Ropsten for USDC and DAI from token's registry 2021-11-04 17:19:42 +02:00
AlexeyBarabash 9435e37045 AppCompatButton class for crypto_wallet_blue_button buttons
To have these buttons of a proper color on non-release builds
2021-11-04 17:19:42 +02:00
AlexeyBarabash 198055391e Show Android portfolio balance percentage trend
fixes brave/brave-browser#18460
2021-11-04 17:19:37 +02:00
Brian R. Bondy 201283fd2b Merge pull request #10861 from brave/96.0.4664.35_master_130
Upgrade from Chromium 96.0.4664.27 to Chromium 96.0.4664.35
2021-11-04 11:07:09 -04:00
Serg 7c52a795f5 Adds accounts pictures in Android wallet 2021-11-03 23:29:34 -04:00
Brian R. Bondy cf2b2872b8 Merge pull request #10852 from brave/remove-wallet-build-flag
Remove wallet build flag
2021-11-03 20:38:44 -04:00
samartnik 488753d44d [Android] New c-tor signatures for TopToolbarCoordinator and ToolbarManager
Chromium change:
https://github.com/chromium/chromium/commit/d35392ae766e8ac9e1b51d0c82db41129038988d

[Start] Recreate CTA if homepage settings changes Start surface state.
When homepage is enabled/disabled or chrome's homepage URI is changed,
Start surface may be switched from enabled to disabled or vice verse.
When the state is switched, it may require to create StartSurface and
the toolbar. Recreate ChromeTabbedActivity to adopt the changes.
Additionally, tab reparenting are handled here.

Demo:
https://drive.google.com/file/d/1bQccNFPcbeTsDADbYdat0Epwql9PpV1c/view?usp=sharing

(cherry picked from commit d291ab2)

Bug: 1258206
2021-11-03 20:23:07 -04:00
Brian Clifton f78efb260c Merge pull request #10100 from brave/cr96
Upgrade from Chromium 95 to Chromium 96
2021-11-03 11:17:24 -07:00
Brian R. Bondy 6a232513e7 Remove wallet buildtime flag brave_wallet_enabled 2021-11-03 10:34:23 -04:00
Serg 9f6c8bb3a2 Adds tx details info on Android 2021-11-03 10:10:26 -04:00
samartnik e91f02281f [Android] Lint fixes 2021-11-02 12:41:31 -04:00
samartnik 616d46c840 [Android] Fixes for lint issues 2021-11-02 12:38:05 -04:00
samartnik 2cefa0029a [Android] Singnature changes for various c-tors and functions
Chromium changes:
https://github.com/chromium/chromium/commit/159f4760b610b6ef203f51ad9e3bfba41d810213
[Read Later] Add reading list context menu to feed
Bug: 1254832

https://github.com/chromium/chromium/commit/12a19d884b272c3616767a3ef1a899b8543b68a9
Reland: [Start] Use NTP's page menu on Start surface.
This reverts commit 1d86228, since the
failing tests weren't caused by the original CL.

The original CL description:
In this CL, we plumb the StartSurfaceState into App menu. Thus, the app
menu could identify whether it is on the Start surface or Tab switcher.
This allows the Start surface use the same page menu as NTP, and GTS
uses the same overview menu with and without Start surface enabled.
Demo before:
https://drive.google.com/file/d/1B4BDcOE9rE05YEBL8iPEzAQh_1x3vjdr/view?usp=sharing
Demo after:
https://drive.google.com/file/d/1yvBOU9ei_lO5mcafsXbegA9kA2M6lq__/view?usp=sharing

(cherry picked from commit c866c1e)

Bug: 1257586, 1249086

https://github.com/chromium/chromium/commit/6e8fa444d5b501671724cc17e5387bfaafef4121
[AutoDark] Add metrics for changes from site settings
Also add few more unit tests to WebContentsDarkModeController.

Bug: 1241542, 1250800
2021-11-02 12:38:05 -04:00
samartnik 7a60fb612c [Android] Java code adjustments
Chromium changes:
https://github.com/chromium/chromium/commit/670a9e15d126af5600808cc08733447d5d474cd9

Update app menu to use MVC framework
Update AppMenu to use ModelListAdapter, also pass data between M-V-C by
ModelList instead of Menu.

BUG:1169999

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

[AutoDark] Add Android auto dark metrics
Adding metrics that tracks the source for auto dark settings changes,
and theme settings entries.

Noting some of the enums are not used yet in this CL. There are added
based on the design doc (See http://shortn/_enU3FSpUBa)

Bug: 1241542, 1250800

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

[MerchantTrust] Add store icon and related IPH to omnibox
This CL adds the store icon and its related IPH to omnibox. The icon is
shown when the merchant trust message is dismissed. We will add the icon
metrics and the IPH config in the later CLs.

Bug: 1252543
2021-11-02 12:38:04 -04:00
samartnik 7c57d3b276 [Android] Fixes for new tab overview theme
Chromium change:
https://github.com/chromium/chromium/commit/b364155d8f3c7e0085f510d7d0c6b9f5c9cf0a0a

Enable ThemeRefactorAndroid by default.
Bug: 1251194
2021-11-02 12:38:04 -04:00
samartnik fa5764a5aa [Android] Fixes for lint errors
Chromium change:
https://chromium.googlesource.com/chromium/src/+/a103102d100fc0d9c81fc97c0a6edfa26e6dee6a

Android: Update cmdline-tools and platform-tools

Updates cmdline-tools from 4.0 to 5.0.
Updates platform-tools from 31.0.2 to 31.0.3.

Fix:
- Updated baseline.xml files and suppressions.xml files for lint.

A follow-up CL will re-enable androidx custom lint checks.

Bug: 1225326
2021-11-02 12:38:04 -04:00
samartnik f32b635b44 [Android] New Incognito lock setting in the Privacy
Chromium change:
https://chromium.googlesource.com/chromium/src/+/551c025eaba441118a76bebd4ce19f82ee59099b

[Android] [Incognito Reauth] Add Incognito lock setting.

This CL adds the Incognito lock setting in the Privacy and Security
settings page behind the IncognitoReauthenticationForAndroid flag.

UX: go/incognito-auth-clank

Bug: 1227656
2021-11-02 12:38:04 -04:00
samartnik 65364da185 [Android] New c-tor signature for ToolbarManager
Chromium change:
https://chromium.googlesource.com/chromium/src/+/abef3409bba63c993e800a4a84a2ab184a0877ab

Reland "[MerchantTrust] Add "Store info" row to Trusted Surface"

This reverts commit 696bafd3941675e12c8af8f78213f43f28952a71.

Reason for revert: Disabled the failed test and will fix later

Original change's description:
> Revert "[MerchantTrust] Add "Store info" row to Trusted Surface"
>
> This reverts commit e1891597bd55a9bf8be91ee9944d4ca1c9e9f477.
>
> Reason for revert: a test is failing on builder "Lollipop Phone Tester" https://crbug.com/1252308
>
> Original change's description:
> > [MerchantTrust] Add "Store info" row to Trusted Surface
> >
> > This CL just adds the "Store info" row to Trusted Surface. We will
> > upload follow-up CLs to make it work correctly, see crbug.com/1248260.
> >
> > Bug: 1247747
> > Change-Id: I3889de3b1abd3229832575f3a38fe3fc5b8c6922
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3155502
> > Commit-Queue: Zhiyuan Cai <zhiyuancai@chromium.org>
> > Reviewed-by: Ayman Almadhoun <ayman@chromium.org>
> > Reviewed-by: Ted Choc <tedchoc@chromium.org>
> > Reviewed-by: Christian Dullweber <dullweber@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#924104}
>
> Bug: 1247747, 1252308
> Change-Id: Ie66296c90e5c20b675a3e68f76d945a0bab4df0e
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3178320
> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
> Owners-Override: Alex Ilin <alexilin@google.com>
> Commit-Queue: Alex Ilin <alexilin@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#924227}

Bug: 1247747, 1252308
2021-11-02 12:38:04 -04:00
samartnik 153f208d83 [Android] ic_desktop_windows icon moved
Chromium change:
https://chromium.googlesource.com/chromium/src/+/34745fb9ae071b10c203874432173c4b895c49cf

[DesktopSite] Request Desktop Site Global Setting

Add content setting REQUEST_DESKTOP_SITE;
Add the content setting to the Android SiteSettings UI;
Hook up to TabImpl to set the user agent when creating a tab.

Bug: 1243758
2021-11-02 12:38:04 -04:00
samartnik d4aab3a760 [Android] SharedPreference UI_THEME_DARKEN_WEBSITES_ENABLED was removed
Chromium change:
https://chromium.googlesource.com/chromium/src/+/b5bb0984df77bbb1ae00a46069f5fdbead09cebd

[AutoDark] Remove SharedPreference UI_THEME_DARKEN_WEBSITES_ENABLED

Switching from java SharedPreference and fully rely on
ContentSettingsType.AUTO_DARK_WEB_CONTENT.

Noting that this change does not mirror the power of SiteSettings into
the ThemeSettings (will be addressed in follow up)

Bug: 1241542
2021-11-02 12:38:03 -04:00
Simon Hong ec8c86546f Merge pull request #10791 from brave/update_default_ntp_wallpaper_android
Updated default ntp wallpaper image on Android
2021-11-02 11:52:46 +09:00