Commit Graph
3632 Commits
Author SHA1 Message Date
Darnell Andries 7ccc48dd89 Merge pull request #20827 from brave/rewards-convert-p3a-android
Add Rewards conversion P3A metrics for Android only
2023-11-10 12:59:43 -08:00
Darnell Andries db39e383ea Merge pull request #20159 from brave/android-tab-p3a-metrics
Add Android tab usage metrics
2023-11-10 12:55:00 -08:00
Jocelyn Liu 64647d37fe Merge pull request #20898 from brave/remove_wallet_outdated_feature_flags_without_fil_sol
Remove wallet outdated feature flags
2023-11-10 11:04:08 -08:00
Jocelyn Liu f93340aa57 Remove kBraveWalletFilecoinFeature, kBraveWalletSolanaFeature, kCreateDefaultSolanaAccount feature flags 2023-11-10 08:18:12 -08:00
Jocelyn Liu 0be3568192 Remove kBraveWalletSnsFeature and kBraveWalletENSL2Feature feature flags 2023-11-10 08:18:12 -08:00
deeppandya 2f0f465dfe Resolve presubmit error
Resolve string error

Remove unused code
2023-11-10 06:18:13 -05:00
deeppandya b0bcfc5f33 Enable vpn on beta channel 2023-11-10 00:23:31 -05:00
deeppandya 4ddeb3ceb0 Remove vpn flag for nightly channel
Enable vpn for nightly channel
2023-11-10 00:19:08 -05:00
Darnell Andries 90adee3719 Add Rewards conversion P3A metrics for Android only 2023-11-09 17:33:28 -08:00
Darnell Andries 475535344c Add Android tab usage metrics 2023-11-09 14:29:24 -08:00
AlexeyBarabash bcb5018842 Cleanup sync v1 migration (#20906)
* Removed Sync V1 => V2 migration code
* Moved obsolete sync prefs registration to RegisterProfilePrefsForMigration
2023-11-09 22:11:49 +02:00
Deep Pandya d244fd2827 Merge pull request #20725 from brave/resolve_contribution_bug
Resolve contribution send button bug
2023-11-07 11:22:41 -05:00
Darnell Andries 1f633649a3 Merge pull request #20861 from brave/android-mojo-crash-fix
Attempted fix for mojo init crash on Android
2023-11-07 06:17:15 -08:00
AlexeyBarabash 00d2e6eab1 Untie from Android System Auto Sync settings (#20854)
* Removed code which checked Android System Auto Sync settings and shown informer/additional button
2023-11-07 13:43:17 +02:00
Darnell Andries 16168ca61b Attempted fix for mojo init crash on Android 2023-11-06 15:48:53 -08:00
Jocelyn Liu fdf1bf2c89 [Android] Share the registration of wallet data files component with Desktop
- The timing of registration is controlled by core backend
- Remove RegisterWalletDataFilesComponentOnDemand in Android
- Remove wallet_data_files_installer_android_util

Authored by @AlexeyBarabash:
- Added Android onboaring page fragment
- Removed unused staff around Android's percentage progress while download Wallet component
2023-11-03 20:13:40 -07:00
deeppandya 5fbee55f37 Resolve formatting error 2023-11-03 09:48:54 -04:00
deeppandya 1076dc5dcc Resove presubmit error 2023-11-03 08:20:16 -04:00
deeppandya 120a0f47f9 Resolve contribution sens button bug 2023-11-03 08:18:43 -04:00
Arthur Edelstein 4870753f46 Hide Aggressive Fingerprinting Protection behind a flag (#20316) 2023-11-01 10:27:10 -07:00
Tapan Modh a6733568c1 Merge pull request #20696 from brave/create_custom_filters_android
[Android] create custom filters
2023-11-01 17:08:53 +05:30
samartnik 784515d16c Merge pull request #20703 from brave/android_private_tab_lock
[Android] Enabled private tabs lock with UI changes
2023-10-31 12:21:54 -04:00
Kevin Smith 269980e440 Merge pull request #20718 from brave/ksmith-remove-login-data
Remove login URL from external wallet structure
2023-10-31 11:43:12 -04:00
Simone Arpe 3c67150fe4 (Wallet) Fix Deposit screen and Buy screen (#20737)
Fix an issue where deposit screen and buy screen were crashing after selecting a token.
2023-10-31 10:19:49 +01:00
zenparsing cd6c660fe1 Remove login URL from external wallet structure 2023-10-30 14:29:54 -04:00
Artem Samoilenko 7aad89554d [Android] Define new colors for Private tabs 2023-10-30 08:13:04 -04:00
Artem Samoilenko ff0709ce40 [Android] Enabled private tabs lock with UI changes 2023-10-30 08:12:59 -04:00
tapanmodh 6207573cc3 create custom filters android 2023-10-30 12:59:35 +05:30
Arthur Edelstein bccdc83254 Remove HTTPS Everywhere (#19779) 2023-10-28 01:29:39 -04:00
Darnell Andries 8ca1961e3d Move uptime monitor to misc_metrics, add uptime monitoring P3A metric for Android 2023-10-26 15:50:23 -07:00
samartnik 4c96e3b2de Merge pull request #20665 from brave/android_private_tab_badge_fix
[Android] Fix for private tab badge padding
2023-10-24 21:47:32 -04:00
Artem Samoilenko 1d74347abc [Android] Fix for private tab badge padding
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/37d04b2089c15cb152a8a559887a7d10c66572be

[APS] Update tooltip visibility and remove hover highlight for StatusView

- Remove tooltip when StatusIconView is not visible.
- remove hover highlight when StatusIconView is not visible(e.g. default engine is not Google).
- remove hover highlight when VerboseStatusText is visible(e.g. offline).

demo(default engine not Google): https://drive.google.com/file/d/1DPIhHtWN4RnjPvkysyCSfV_gd73ZMjPb/view?usp=sharing

demo(offline)
https://drive.google.com/file/d/1-1Y_t59i8AcxFv6sLpBE-kG2tsSGoi4s/view?usp=sharing

TODO: relocate the logic in StatusView to StatusViewBinder or StatusProperties.

Bug: 1476816, 1476802
2023-10-24 17:07:08 -04:00
Deep Pandya 318ab912aa Merge pull request #20332 from brave/rewards_custodian_redirection
Update Rewards redirection
2023-10-24 13:32:48 -04:00
Emerick Rogul 17ff7ef4b5 Merge pull request #20314 from brave/cr119
Upgrade from Chromium 118 to Chromium 119
2023-10-23 17:59:34 -04:00
AlexeyBarabash 64bfbcffef Fixed crash when enabling passwords sync and close settings screen (#20639)
Fixed crash when enabling passwords sync and close settings screen; fixes brave/brave-browser#33782
2023-10-23 22:27:13 +03:00
Artem Samoilenko 6d32aa8484 [Android] Fixes for the new java format 2023-10-23 13:19:08 +01:00
Artem Samoilenko b1bc02c44d [Android] SharedPreferences moved to base
Chromium change:
https://github.com/brave/chromium/commit/d2cf18e9828940db691acf1aba1d90ecf12b848a

[Android] Move SharedPreferencesManager to //base
SharedPreferencesManager only needed to be //chrome-layer because
it has lists of the SharedPrefs keys used in Chrome. This CL:
- Detaches the key registry from the key checking
- Moves SharedPreferencesManager and Base/ChromePreferenceKeyChecker
  to //base
- Leaves behind a temporary facade where //chrome
  SharedPreferencesManager is until the migration is finished.
- Implements checking that all PreferenceKeyRegistries are
  listed in AllPreferenceKeyRegistries
- Modifies ChromePreferenceKeysTest to check uniqueness across
  all known registries

See go/base-shared-preferences for more details.

Bug: 1069897,1483469
2023-10-23 13:19:08 +01:00
Artem Samoilenko 1a52414a55 [Android] Rename SiteSettingsPreferenceFragment
https://github.com/brave/chromium/commit/41965636b6da1c2723fc99371bfbc9e3ad218cb6

Rename SiteSettingsPreferenceFragment
Bug: 1485637
2023-10-23 13:19:08 +01:00
Artem Samoilenko e63c370835 [Android] Remove patch for StartupPaintPreviewHelper
There is no more glitch on Paint Preview from the upstream, so this
patch is obsolete.

Chromium change:
https://github.com/brave/chromium/commit/bc0349169ff178b7a3adbc127ef3e4db3e23824c

cleanup: Remove StartupPaintPreviewHelper.isEnabled
The method isEnabled() always returns true, and there is no plan to
change it. Remove the method and its callsite and beautify one unrelated
assert slightly.

Bug: 1321121
2023-10-23 13:19:07 +01:00
Artem Samoilenko 8fa1dc480c [Android] Changes for ChromePreferenceKeyChecker
Chromium change:
brave/chromium@b244bd1

[Android] Assorted refactors of SharedPreferencesManager
- Make BaseChromePreferenceKeyChecker into a PreferenceKeyChecker
  interface + NoOp impl for clarity.
- Simplify selection of which PreferenceKeyChecker to use.
- Remove StrictModeContext exceptions since there's another mechanism
  to disable them for SharedPreferences.
- Other minor tweaks.

Preparing for move to //base.

Bug: 1483409
2023-10-23 13:19:06 +01:00
Artem Samoilenko 61e04b3c42 [Android] Ensure ChromeManagedPreferenceDelegate has a valid profile
Chromium change:
https://github.com/brave/chromium/commit/caccd815686703f9ec8462e3b46aa503d58c006f

Ensure ChromeManagedPreferenceDelegate has a valid profile.
This CL below  introduced a bug where the ChromeManagedPreferenceDelegate
was created w/ a null profile during the constructor for MainSettings.
https://chromium-review.googlesource.com/c/chromium/src/+/4850613

This fixes the bug and adds an assert to catch potential regressions
going forward.

Bug: None
2023-10-23 13:19:05 +01:00
Artem Samoilenko 959d574eea [Android] destroyPropertiesForStream is package visible now
Chromium change:
https://github.com/brave/chromium/commit/2a587a94d143f4b3ffedf4e5d88d6b074d47f4fb

[DSE] Hide Feeds and its header according to DSE.
In this CL, Feeds and its header will be completely hidden if swapping
out NTP is enabled and DSE isn't Google. Therefore, the following
changes are made in FeedSurfaceMediator:
1. Add Pref:EnableSnippetsByDse to track whether the DSE is Google.
2. Once this pref is changed, we hide or show Feeds and its header.
3. Keep an observer of TemplateUrlService even when Feeds isn't
   visible. Updates the pref value when DSE is changed.
Demo:
https://drive.google.com/file/d/1Q6MV5B2Fh79hyt0lbBaYoSO01H7ngxJP/view?usp=drive_link

Bug: 1475011
2023-10-23 13:19:05 +01:00
Artem Samoilenko 091abcce96 [Android] Moved onNewIntent method
Chromium change:
https://github.com/brave/chromium/commit/2dde79ed20e6534fca02aa1216541df76f14c589

Delete IntentHandlerDelegate
processUrlViewIntent was only implemented by ChromeTabbedActivity and so
having ChromeActivity call IntentHandler#onNewIntent was confusing and
hard to reason about.

This change moves the ChromeTabbedActivity-only code from IntentHandler
into ChromeTabbedActivity.

Change-Id: I38e46830f66488a822ab3e2ec85d4f90d4fd9a52
2023-10-23 13:19:04 +01:00
Artem Samoilenko 3e24a47baf [Android] Adjustments for DropdownItemViewInfoListBuilder changes
Chromium change:
https://github.com/brave/chromium/commit/ddfa614c3740b47df416e7a944e4086f281c1bae

Relocate query extraction for SRO Query Edit to Native code.
The change is functionally a no-op.

Note: the change drops verification of validity of destination url in
native code. This is because the mechanism used to classify matches
has been replaced over the last few years with one that no longer
rewrites entire AutocompleteMatch.

Change-Id: I815dabcf16bca0cdffd8755f6aa54da17ad7e7a4
2023-10-23 13:19:04 +01:00
Artem Samoilenko 6fbecd8cb2 [Android] Moving generate_jni gn template into third_party
Chromium change:
https://github.com/brave/chromium/commit/2cb3f6d4557ccb14d7a6f3329db01afc41ee323e

jni_zero: moving generate_jni gn template into third_party
Bug: 1456762
2023-10-23 13:19:04 +01:00
Artem Samoilenko 1e376714f8 [Android] Fixes for unit tests 2023-10-23 13:19:02 +01:00
Artem Samoilenko 7577892ea8 [Android] Minor code adjustments to the C119 upstream changes 2023-10-23 13:19:02 +01:00
Artem Samoilenko e62a3360c3 [Android] Change ChromeManagedPreferenceDelegate take an explicit Profile
Chromium change:
https://github.com/brave/chromium/commit/32c81cac97600dc1fcca2492171bfb296ab6453d

Change ChromeManagedPreferenceDelegate take an explicit Profile.
Bug: 1410601
2023-10-23 13:19:02 +01:00
Artem Samoilenko a42d0bbd5f [Android] Make IntentHandler stateless
Chromium change:
https://github.com/brave/chromium/commit/74c1833620fbc342306cf9e1df0c457c8a2fa253

Make IntentHandler stateless
IntentHandler is made more confusing by most of it being stateless
statics, and some of it being stateful for an Activity. There's no
reason for it to be stateful, so simplify by making it stateless.

Change-Id: Ic4d6e3c823c149f2a0ae027503dc4c7516cceaaa
2023-10-23 13:19:02 +01:00
Deep Pandya 32be78f050 Merge pull request #19958 from brave/submit_shields_report_with_url_android
Submit shields report with origin + path
2023-10-20 09:15:15 -04:00