Commit Graph
1290 Commits
Author SHA1 Message Date
Deep Pandya d7a5ad3b97 Update colors for dark mode (#9509)
* Update Dark mode colors

* Remove logs
2021-07-26 19:05:46 -04:00
Serg 1719b9a9b5 Adds a vertical line with prices for Android crypto wallet asset chart 2021-07-26 15:26:20 -04:00
Brian R. Bondy 8b280912b1 Fix JS usage of getAssetPrice API 2021-07-23 11:12:47 -04:00
Serg 96d1de5faf Merge pull request #9494 from brave/android_wallet_fingerprint
Allows to create a wallet on Android without fingerprints biometric
2021-07-21 16:59:35 -04:00
Serg 203ebe8109 Allows to create a wallet on Android without fingerprints biometric 2021-07-21 14:07:35 -04:00
wchen342 ad9235b161 Update icons; Format fix 2021-07-21 21:06:40 +03:00
wchen342 b1800f8188 Add back ic_search override icons 2021-07-21 21:06:40 +03:00
wchen342 6c5a706e2f Fix graphics warnings 2021-07-21 21:06:39 +03:00
wchen342 cf69901734 Revert changes on placeholder strings 2021-07-21 21:04:59 +03:00
wchen342 903deeb09b Fix most warnings from xml/java/grd files. 2021-07-21 21:04:55 +03:00
samartnik e58b585ef7 [Android] Fixes for cosmetic filtering and ads blocking modes 2021-07-21 12:30:33 -04:00
Deep PandyaandBrian Clifton c6e1b8d075 Update DDG Se (#9458)
* Update DDG Se

* Fix broken Android tests

Co-authored-by: Brian Clifton <brian@clifton.me>
2021-07-16 12:50:14 -04:00
Deep Pandya 0a7a5bfe14 Show NTP page on onboarding close (#9457)
* Show NTP page on onboarding close
2021-07-16 12:25:16 -04:00
Deep Pandya b922c3d7e0 Crypto wallet flow (#9399)
* Resolve warnings

* Add native functions

* Update restore UI

Update onboarding flow

Update recovery phrase UI

* Add asset price native function

* Add asset price history native function

* Update UI to keep only crypto section

* Add asset detail page

Update graph with real asset data

* Remove unused resources
2021-07-14 13:24:16 -04:00
samartnik f3936a625b Merge pull request #9433 from brave/android_remove_network_predictions
[Android] Removed network predictions option
2021-07-14 13:08:52 -04:00
samartnik 4af869b350 [Android] Removed network predictions option 2021-07-14 11:35:49 -04:00
Pranjal Jumde 56555ad718 Fix #14629 - Add support for Gemini for rewards external wallets 2021-07-13 17:24:53 -05:00
Deep Pandya a288c4143e Fix warnings (#9338) 2021-07-12 08:47:14 -04:00
aseren a4156e7a49 Merge pull request #9343 from brave/custom_ads_dark_mode_android
Add dark mode layout for custom ads popup on android.
2021-07-10 04:38:53 -07:00
Brian Clifton 80950f8cc0 Merge pull request #9372 from brave/92.0.4515.93_master_107
Upgrade patches from Chromium 92.0.4515.81 to Chromium 92.0.4515.93
2021-07-09 13:01:53 -07:00
Deep Pandya 7f3082e9d8 Update VPN native calls (#9390) 2021-07-09 15:18:19 -04:00
Aleksey Seren 07f1a8a6ef Add dark mode layout for custom ads popup on android.
Also added functionality to switch between dark/light modes on theme
setting change.
fix https://github.com/brave/brave-browser/issues/16350
2021-07-09 22:12:36 +07:00
Deep fa45b40fd6 Fix vpn native error 2021-07-09 00:26:21 -04:00
samartnik 5f82c09d85 [Android] Some methods moved from application to activity context
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/d5668a5d7e41aefbc739d76435f1d02fd1f93ec9

Update GTS/Group feature checking util method to use activity context

GTS/Group is currently disabled for tablet. The util method that
determines availability of the GTS and Tab Group is using application
context to identify the tablet mode. We should use activity context
instead. This CL updates those util methods to use the activity context.

Bug: 1217430
2021-07-08 18:23:36 -04:00
Alex C a973073f0c [Android] changes text color to also be visible in dark more 2021-07-07 17:31:18 -04:00
Deep Pandya 94f9b4fce6 Brave Vpn api integration (#9131)
* Add vpn api integration to components

* Add api implementation for guardian

* Update name conventions

Update deps

* Add misssing includes

* Fix include_rule error

* Fix lint error

* Update vpn deps

* Refactor vpn files

Address comments on conversation

* Add check for record_v

* Address PR comments

* Fix gn_check error

* Address PR comments

* Add check for android to avoid error on other platforms
2021-07-07 12:35:16 -04:00
Brian R. Bondy d9d0401c82 Merge pull request #8545 from brave/cr92
Upgrade from Chromium 91 to Chromium 92
2021-06-29 23:02:38 -04:00
alexsafe fdd7cbc2cf Merge pull request #9240 from brave/add-shields-settings
Add shields settings
2021-06-29 17:34:42 -04:00
samartnik 0a44ffd283 [Android] C-tor signature for LayoutManagerChrome was changed 2021-06-29 16:37:29 -04:00
samartnik 716dfe83f4 [Android] Fix for tab switcher mode in stack layout
Stack layout in not taken into consideration in Chromium anymore and
unintendedly was broken by the following change:

https://chromium.googlesource.com/chromium/src/+/dc3038ca3e29694ab91dfc1832ff7b337489fcfa

Fix tab switcher button not working in a11y mode

This patch is a temporary fix while grid tab switcher is in the process
of being launched. Previously, accessibility mode was one of the cases
where the grid was not created. This poses a problem since the a11y
mode can change without the activity restarting. This patch removes the
a11y check for creating the grid and adds a special case to the
overview showing logic in ChromeTabbedActivity to handle this.

Bug: 1200727
2021-06-29 16:37:26 -04:00
samartnik f2fcbdf87d [Android] Changes for BrowserControlsManagerSupplier
Chromium change:
https://chromium.googlesource.com/chromium/src/+/10041fc90b2a0d2b72be98775c73d35931dbb32e

[ChromeActivity] Dedup and attach BrowserControlsManagerSupplier

BrowserControlsManagerSupplier was introduced in crrev.com/c/2847550, but
never attached to the window.

Bug: 1204868
2021-06-29 16:37:24 -04:00
samartnik 9dfe1382a3 [Android] C-tor signature for NewTabPage was changed 2021-06-29 16:35:56 -04:00
samartnik 30147bacef [Android] BottomControls moved to modularized target
Chromium change:
https://chromium.googlesource.com/chromium/src/+/2336b6557478c544a81650258aab4b0e7af49c78

Toolbar: Move BottomControls to modularized target

This CL moves the classes for BottomControls MVC component plus
its layout xml to chrome/browser/ui/android/toolbar/.

Following dependencies on chrome_java were removed:

- ShareDelegate - was not in use.
- TabGroupUi - split to BottomControlsContentDelegate and extend
               from it.

Bug: 1127732
2021-06-29 16:35:46 -04:00
samartnik b19af7a8fe [Android] Changes for search engine logo
Chromium change:
https://chromium.googlesource.com/chromium/src/+/ea3ad04f98806c71fa5d7ed91faa1afeb1f61cd1

Remove search engine logo feature flag and cleanup surrounding code

- Simplified the logo/no-logo padding cases and removed associated
  plumbing (mostly in LocationBarMediator/Phone).
- Simplified SearchEngineLogoUtils as the feature is enabled by default.
- Removed search engine logo feature flag.
- Move ReturnToChromeExperimentsUtil#isCanonicalizedNTPUrl to
  UrlUtilities and generalize it a bit.

Bug: 1178959
2021-06-29 16:35:34 -04:00
samartnik de9109b7f6 [Android] Most of //chrome/browser/notifications were modularized
Chromium change:
https://chromium.googlesource.com/chromium/src/+/8276a73257bad0497689dfb1edeb735be2b5c26b

Modularize most of //chrome/browser/notifications

Move the framework components of //chrome/browser/notifications out to a
module.  This leaves behind web platform notification information and
notification scheduler files.

Presubmit is flagging in moved files (haven't changed lines), so skipping presubmit for this CL.

NOPRESUBMIT=true

Bug: 1174713
2021-06-29 16:35:33 -04:00
samartnik 1d9e6ec0a0 [Android] C-tor signature for TabbedAppMenuPropertiesDelegate changed 2021-06-29 16:35:32 -04:00
samartnik 36dbfabcac [Android] C-tor signature for TabbedAppMenuPropertiesDelegate changed 2021-06-29 16:35:10 -04:00
samartnik 88b1407b19 [Android] Various classes and variables were renamed, extended or moved 2021-06-29 16:35:04 -04:00
wchen342 bdefe6d867 Merge pull request #9256 from brave/appcompat_fix
Change AppCompatActivity to AsyncInitializationActivity
2021-06-28 18:10:10 +02:00
wchen342 d33b4dcfdf Change AppCompatActivity to AsyncInitializationActivity 2021-06-28 16:10:50 +03:00
Alex C de10b982be [Android] fixes lint minimum API error for request permission 2021-06-26 11:07:28 -04:00
Alex C 813ed681f1 [Android] refactored shields blockers 2021-06-25 11:30:17 -04:00
Alex C 54e4665be7 [Android] adds block trackers (with aggressive mode) to shields 2021-06-24 14:49:51 -04:00
Alex C 01619098e4 [Android] fixes check permission crash 2021-06-24 11:53:08 -04:00
Brian Clifton babf5e2271 Update for Android 2021-06-23 12:07:31 -07:00
samartnik 3190e42ef9 [Android] Fixed crash for custom tabs on specific locale 2021-06-23 09:50:18 -04:00
Serg 9c46d0b037 Changes default engine on Android only on standard tab via JS API 2021-06-21 02:27:47 -04:00
Serg 64ca9c24bb Fixes JNI header generation for 64 bit 2021-06-20 20:41:54 -04:00
Serg 67768771ff Fetches a default search engine on Android from Native if it was set via JS API 2021-06-20 12:54:14 -04:00
Deep Pandya 49814ac7dc update brave search icons (#9190) 2021-06-19 20:04:56 -04:00