Commit Graph
1813 Commits
Author SHA1 Message Date
samartnik 59407e2f5a [Android] Removed SignInAllowedObserver
Chromium change:
https://github.com/chromium/chromium/commit/abc5c8db8cc036982f11f945eec7573104d22e52

[Android][Signin] Merge SigninStateObserver and SigninAllowedObserver…
… into one

This CL refactors the SigninManager observers by merging
SigninStateObserver and SigninAllowedObserver into one.

Bug: 1152333
2021-09-13 14:53:41 -04:00
samartnik 0b57ee430d [Android] Changes for toolbar color retrieval
Chromium change:
https://chromium.googlesource.com/chromium/src/+/020d9a658e7ae62272fcbcf66868c51c13b9779b

Update omnibox with dynamic colors

This CL updates methods that provide the primary color or the background
in utility classes such as ChromeColors and ThemeUtils to use Context
instead of Resources.

Bug: 1217157
2021-09-13 14:53:32 -04:00
samartnik d72b8dbc06 [Android] Fixes for resources and lint
Chromium change:
https://chromium.googlesource.com/chromium/src/+/bd2d4b7116ef955394188f334ddaaee26cb328c6

[Autofill/Passwords] Clean-up old Autofill bubble header images

Bug: 1213685
2021-09-13 14:53:17 -04:00
samartnik b15bb2d8ef [Android] Fix for Android 12 as a target
Fixes error:
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
2021-09-13 14:53:11 -04:00
samartnik 5e6d23163e [Android] Changes to privacy policy in settings page
Chromium change:
https://chromium.googlesource.com/chromium/src/+/98851198b9ec02d29ffb148f3a0642a9b69f931a

[AADC] Update link to privacy policy in settings page

This cl updates "Chrome Privacy Notice" to "Google Privacy Policy" and
changes the link to point to https://policies.google.com/privacy for
everyone.

Screenshot: https://crbug.com/1220661#c6

Bug: 1220661
2021-09-13 14:53:02 -04:00
Anthony Tseng 160b746f13 Merge pull request #10032 from brave/import-legacy-brave-mnemonic
Import legacy brave mnemonic
2021-09-13 11:16:04 -07:00
Deep Pandya c83bcff7a4 Merge pull request #10040 from brave/add_accounts_android
Add accounts related information in Brave Wallet
2021-09-10 16:19:01 -04:00
Deep cf767b20c3 Fix lint error 2021-09-10 15:09:26 -04:00
samartnik 27e29a1b99 Merge pull request #10042 from brave/android_search_engine_crash
[Android] Fix for crash on selecting search engine
2021-09-10 11:41:50 -04:00
Deep 642f95937e Resolve rebase issue 2021-09-10 11:16:11 -04:00
samartnik 804987ef54 [Android] Fix for crash on selecting search engine 2021-09-10 10:30:26 -04:00
Deep c67275fede Add accounts related information in Brave Wallet 2021-09-10 07:50:17 -04:00
Anthony Tseng 44fc0d1c4e fix android build 2021-09-09 22:47:40 -07:00
Serg 80a251334f Android wallet network fixes 2021-09-08 17:41:20 +03:00
samartnik a41edcf7c3 [Android] Fixed crash on retrieving favicon for private tab 2021-09-03 09:32:38 -04:00
samartnik 0b979ca2cb Merge pull request #9930 from brave/android_switch_theme_fix
[Android] Fixed BraveRewardsSwitchTheme for SwitchCompat
2021-08-31 19:35:54 -04:00
samartnik 7d2b4f98f9 [Android] Fixed BraveRewardsSwitchTheme for SwitchCompat 2021-08-31 16:04:49 -04:00
Serg 4cfe2872a0 Adds a feature to select diff networks in a wallet 2021-08-31 13:23:50 -04:00
AlexeyBarabash 3e373db6cb Merge pull request #9665 from brave/android_crash_reports
Android send crash reports to backtrace.io
2021-08-31 20:10:58 +03:00
wchen342 a7a466a60c Merge pull request #9853 from brave/share_list_fix
[Android] Add share intent handler
2021-08-30 21:50:38 +02:00
alexsafe 1225376f0c Merge pull request #9906 from brave/rewards-onboarding-pager-background
[Android] fixes rewards onboarding view pager background
2021-08-30 15:39:43 -04:00
Alex C 25524c7978 [Android] fixes rewards onboarding view pager background 2021-08-30 14:16:59 -04:00
AlexeyBarabash 38bf2bb252 Merge pull request #9901 from brave/fix_crash_a5_17735
Fix wrong type cast crash on Android 5
2021-08-30 18:50:06 +03:00
AlexeyBarabash 7b21f4200a Additional checks for null on mContext 2021-08-30 17:44:07 +03:00
AlexeyBarabash 7801ef5b95 Fix wrong cast exception on Android 5; fixes brave/brave-browser#17735 2021-08-30 17:04:43 +03:00
AlexeyBarabash 71f90c04c5 UI option for auto sending crash reports on Android
fixes brave/brave-browser#17563
2021-08-27 18:25:50 +03:00
Serg 42bdcfefb5 Adds list for buy/send on Android 2021-08-27 09:48:28 -04:00
wchen342 2894da66c1 Format fix 2021-08-26 16:41:13 +03:00
wchen342 c043ef0904 Clean up 2021-08-26 16:41:13 +03:00
wchen342 ec4238a085 Add BackgroudImagesComponent
Add BI to backgrounds

Split SI and BI data

Split BI and SI data struct

Add enable_ntp_background_images flag

Remove android bundled background images; Other minor reforms

Fix unittests
2021-08-26 16:41:12 +03:00
samartnik 00e36dd2b7 [Android] Disabled menu animation 2021-08-25 19:38:06 -04:00
wchen342 335e15be7a Format fix 2021-08-25 20:54:56 +03:00
wchen342 610f33a80c Add Send Intent handler 2021-08-25 20:00:40 +03:00
AlexeyBarabash 8cd2b2af40 Fix tests on Android caused by regression PR9799; fixes brave/brave-browser#17693 2021-08-25 17:54:27 +03:00
AlexeyBarabash 4ec2a8a49e Merge pull request #9799 from brave/sync_cr93_fix_17580
Remove Chromium leftovers from sync types screen on Android
2021-08-25 12:09:23 +03:00
samartnik cb90e36821 [Android] Fixed NTP launching on start up 2021-08-24 12:35:13 -04:00
samartnik 00f42196f9 [Android] Fixed color for menu menu footer 2021-08-24 10:36:33 -04:00
samartnik b88bbbf27a [Android] Fixed colors for the dark theme 2021-08-23 18:34:25 -04:00
Serg 97d01b9669 Code review suggestions 2021-08-20 14:24:53 -04:00
AlexeyBarabash e030665d44 Remove Chromium leftovers from sync types screen; fixes brave/brave-browser#17580 2021-08-20 00:29:51 +03:00
Serg 2d1aa8e844 Adds Edit Visible assets UI on Android 2021-08-19 15:57:31 -04:00
samartnik bdebe2ff64 [Android] New c-tor signatures for FeedSurfaceCoordinator and NewTabPage 2021-08-18 10:59:59 -04:00
samartnik b96f1b781a [Android] Fixed accent color
Chromium change:
https://chromium.googlesource.com/chromium/src/+/296e58b25a68baf8bf044234555c7bd157d5d761

[GMNext][TabSwitcher] Change selection style to material next

Disabled: Selected tab will have a hairline drawable foreground;
Enabled: Selected tab will be tinted into primary color.

Color in incognito mode will be using the ones for dark mode, and will
not support dynamic colors.

(The update for thumbnail is not included in this CL)

Spec see original bug attached.

Bug: 1217141
2021-08-18 10:59:54 -04:00
samartnik 595fa6de1e [Android] Fix for lint error 2021-08-18 10:59:52 -04:00
samartnik f9ea0dc281 [Android] C-tor signature for FeedSurfaceCoordinator was changed 2021-08-18 10:59:46 -04:00
samartnik 009f8652eb [Android] Adjusted java code to new c-tor and function signatures 2021-08-18 10:58:50 -04:00
samartnik dc2e0b92ea [Android] Fixed assert for favicon for not valid GURL
Chromium change:
https://chromium.googlesource.com/chromium/src/+/ca63ae8c5f7d1ee23cb865ffe0a51159950ff8cc

[GURL] Remove Tab.getUrlString calls from Favicon code.

This starts the process of threading GURL into favicon code
but there's a lot of it. :/

Also removes a bunch of dead code I came across in FaviconHelper.

Bug: 783819
2021-08-18 10:58:40 -04:00
samartnik 8a49a29d19 [Android] Changed base app color
Chromium change:
https://chromium.googlesource.com/chromium/src/+/296e58b25a68baf8bf044234555c7bd157d5d761

[GMNext][TabSwitcher] Change selection style to material next

Disabled: Selected tab will have a hairline drawable foreground;
Enabled: Selected tab will be tinted into primary color.

Color in incognito mode will be using the ones for dark mode, and will
not support dynamic colors.

(The update for thumbnail is not included in this CL)

Spec see original bug attached.

Bug: 1217141
2021-08-18 10:58:37 -04:00
samartnik 0021d75620 [Android] Changes for modularized toolbar
Additionaly fixed:
- c-tor signatures for various classes
- explicitly added header for network::ResourceRequest

Chromuim change:
https://chromium.googlesource.com/chromium/src/+/2c6cbee37831bffa83494c98eca09a8ca9def489

Modularize toolbar/

Moves the files in chrome/browser/toolbar (except some glue code) and
related resources to chrome/browser/ui/android/toolbar.

Bug: 1127732
2021-08-18 10:58:37 -04:00
samartnik 866683157a [Android] Changes for MenuButton implementation
Chromium change:
https://chromium.googlesource.com/chromium/src/+/4a6f627495111794c56c46873349521bcc9b5b22

Toolbar: Remove deps on chrome/browser/omaha

This CL applies some refactoring around toolbar/omaha in preparation
for toolbar modularization:

- Moves menu button/ui/item state definitions from
   c.b.omaha.UpdateMenuItemHelper to toolbar/menu_button
- Inject MenuButtonState supplier to MenuButton MVC instead of
   the components calling UpdateMenuItemHelper directly

Bug: 1127732
2021-08-18 10:57:07 -04:00