Commit Graph
3867 Commits
Author SHA1 Message Date
Deep Pandya d96ce048c6 Disable share from menu on NTP (#22967) 2024-04-08 21:35:36 +02:00
Deep Pandya d25febc566 Reorder rewards panel dialogs (#22951) 2024-04-08 11:55:02 -04:00
Deep Pandya 1970db233d Merge pull request #22949 from brave/cover_rewards_panel_with_tos_notice
Cover rewards panel with TOS dialog
2024-04-05 15:10:40 -04:00
Deep Pandya 36517e5633 Merge pull request #22950 from brave/update_tos_dialog_reset_behaviour
Update tos dialog reset behaviour
2024-04-05 15:10:08 -04:00
deeppandya 6aea0ca2ff Update tos dialog reset behaviour
Resolve presubmit issue
2024-04-05 03:17:46 -04:00
deeppandya de75c53470 Add p3a for set as default
Resolve Presubmit issues
2024-04-05 01:42:19 -04:00
deeppandya 1247e6cc8b Cover rewards panel with TOS dialog 2024-04-05 00:41:54 -04:00
Serg 85e8f6f8da Merge pull request #22943 from brave/android_leo_autosuggestion
Shows Leo auto suggestions on Android regardless the global autocomplete switch
2024-04-04 17:11:55 -04:00
Serg c018a48c33 Shows Leo auto suggestions on Android regardless the global autocomplete switch 2024-04-04 15:21:37 -04:00
Tapan Modh ab790878f9 Merge pull request #22656 from brave/autofill_support_other_browsers_android
[Android] Autofill support in chrome, opera and edge browsers
2024-04-04 22:11:59 +05:30
deeppandya e6d06ec898 Update reset hyperlink color for TOS dialog 2024-04-03 13:11:53 -04:00
deeppandya 3cae1a0b14 Update bottom margin for TOS dialog in rewards panel 2024-04-03 12:58:30 -04:00
Simon Hong 9ad2b929ee Revert "Revert "Use dialog for wayback machine instead of infobar"" 2024-04-03 09:24:11 +09:00
Szilard Szaloki c7b6fbe78c Redesigns Playlist's architecture. 2024-04-01 10:36:29 -05:00
tapanmodh 98c1a1cc0e Autofill support in chrome, opera and edge browsers android 2024-03-29 23:56:13 +05:30
Kevin Smith ba62d704d0 Merge pull request #22806 from brave/ksmith-remove-legacy-unconnected
Remove Rewards legacy unconnected user state
2024-03-28 18:45:29 -04:00
Deep Pandya 80e2350e2d Merge pull request #22814 from brave/deep/resolve_app_language
Resolve app language change
2024-03-28 11:25:52 -04:00
zenparsing 1d30c43712 Remove Rewards legacy unconnected user state 2024-03-28 11:13:30 -04:00
Serg f24cf18087 Disables Leo on Android when a global JS toggle set to blocked 2024-03-27 13:45:25 -04:00
deeppandya 90e02f1662 Resolve app language change
Update tests

Resolve test error
2024-03-27 13:26:04 -04:00
Serg 059735aca7 Adds voice recognition for Leo prompts on Android 2024-03-25 13:12:48 -04:00
Darnell Andries 6f30c85733 Merge pull request #22195 from brave/day-zero-p3a
Add "day zero" experiment feature & metrics
2024-03-22 18:00:47 -07:00
Deep Pandya f32517e82e Merge pull request #22708 from brave/artificial_self_custody_case_android
Artificial self custody linking case
2024-03-22 11:50:48 -04:00
Tapan Modh 6ae154f0dc Merge pull request #22645 from brave/autofill_ignore_omnibox_android
[Android] ignore omnibox in autofill service
2024-03-22 15:05:26 +05:30
Darnell Andries cffd7732f0 Add "day zero" feature, add metrics for "day zero" 2024-03-21 13:55:22 -07:00
deeppandya 5a040a0390 Do not shoow self custody UI if user is already connected
Resolve presubmit error
2024-03-21 15:41:58 -04:00
deeppandya eecc0206c0 Update payout status banner UI to work with self custody
Resolve presubmit issues
2024-03-21 00:30:34 -04:00
taher dc451acdca aichat: settings page has premium accounts link (#21987) 2024-03-20 05:29:19 -07:00
zenparsing 23b3b2b18a Remove vBAT promotions support 2024-03-19 16:53:39 -04:00
tapanmodh 4d9a8f6a85 ignore omnibox in autofill service android 2024-03-18 16:27:48 +05:30
Simone Arpe 772c220172 (Wallet) Improve onboarding adapter navigation logic (#22527) 2024-03-14 19:15:05 +01:00
Brian Clifton fd1d97a01c Merge pull request #22584 from brave/revert-22395-wayback_machine_dialog
Revert "Use dialog for wayback machine instead of infobar"
2024-03-14 01:13:09 -07:00
Simon Hong ee43c42e5c Fixed presubmit check failure 2024-03-14 12:59:38 +09:00
ffcbe2071a Upgrade from Chromium 123.0.6312.29 to Chromium 123.0.6312.46 (#22583)
* Upgrade from Chromium 123.0.6312.29 to Chromium 123.0.6312.46

* Update pins list timestamp

* Updated strings for Chromium 123.0.6312.46

* [Android] Fix omnibox gap on automotive portrait devices

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/2dd3c04e44bed5cc554d93dac98f05d597cce7cd

[Merge into M123] Fix omnibox gap on automotive portrait devices by measuring from below the automotive top toolbar

(cherry picked from commit 5a1c036eff85c1664daefabe9261bb897476c932)

Bug: b/327277287

---------

Co-authored-by: brave-builds <brave-builds+devops@brave.com>
Co-authored-by: Artem Samoilenko <artem@brave.com>
2024-03-13 22:33:47 -04:00
Simon Hong ab9c2ecba0 Revert "Use dialog for wayback machine instead of infobar" 2024-03-14 08:40:35 +09:00
Simone Arpe fc40082f9d Tweak Wallet creation screen (#22498) 2024-03-13 22:14:30 +01:00
Deep Pandya ce5d70960c Merge pull request #22505 from brave/deep/tos_rewards_android
Terms of service update rewards panel
2024-03-13 16:49:12 -04:00
deeppandya b8fc07c4ae Update text to match with desktop to avoid translation 2024-03-13 12:51:48 -04:00
Artem Samoilenko e801e38563 [Android] Removed Clear browsing data item from main menu 2024-03-13 10:26:47 -04:00
Simone Arpe 0b268a2866 (Wallet) Implement new password creation screen (#22459)
🔐 Implements new password creation screen following Figma design.
2024-03-12 17:59:29 +01:00
deeppandya 42e119e484 Update tos UI with panel shadow
Resolve presubmit issues
2024-03-11 15:08:22 -04:00
deeppandya 101779c0f1 Add native functions
Update panel code

Add callback for terms of service
2024-03-11 15:08:19 -04:00
deeppandya 6a60762c46 Add tos UI for rewards 2024-03-11 15:08:15 -04:00
Tapan Modh 0ea4dc3a03 Merge pull request #22159 from brave/autofill_service_android
[Android] autofill service address
2024-03-11 11:49:40 +05:30
Simon Hong a5cd49ed39 Use dialog for wayback machine instead of infobar
fix https://github.com/brave/brave-browser/issues/35820
2024-03-09 13:35:56 +09:00
tapanmodh 5646ead690 autofill service address android 2024-03-09 01:55:10 +05:30
Artem Samoilenko 540523cc81 [Android] Add Token-based ID support for Tab Groups
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4dfe0238c9391e5b9a4284072e7d07926171215b

[Tab Groups] add Token-based ID support behind flag

Add and manage Token-based TabGroupIds for Tabs in TabGroupModelFilter.

RootId must be the TabId of one of the tabs in the group. This is
unstable because if the Tab with the TabId corresponding to the RootId
of the group is removed from the group the group must elect a new
TabId from among its tabs to be the new RootId. This leads to issues
with managing the state of a tab group over time.

Under the RootId paradigm every tab was associated with a TabGroup
object and only tab groups with > 1 tab were considered "real" tab
groups. In an effort to support tab groups with a single tab it is
necessary to come up with a new approach.

This CL introduces TabGroupId. This ID is stable in that it is tied
to the group the tabs are in and can only be destroyed if all tabs
are removed from the tab group OR two groups with TabGroupIds are
merged resulting in one of the two TabGroupIds going away.

Tabs only have a TabGroupId if they are associated with a "real"
tab group of size 1 or larger. Otherwise this field will be null.
This means that TabGroup objects will only contain tabs with a
TabGroupId if the group is > size 1 OR that single tab is to be
treated as a real tab group.

If the flag AndroidTabGroupStableIds is enabled then after
tab state initialization all tabs that are part of "real" tab
groups under the old definition will be allocated TabGroupIds
in a 1:1 manner with old RootIds. When the flag is disabled
the TabGroupIds will all be reset instead.

Logic for maintaining TabGroupIds is as follows:
* A Tab Group Id is allocated when:
  * A single tab is turned into a single tab group.
  * A single tab is merged with another single tab to form a
    group.
  * A list of tabs is merged to a single tab to form a group.
    If a group is merged to a single tab its Tab Group Id is
    preserved.
* Tab Group Ids are removed from tabs when:
  * Ungrouping a tab from a group.
* Tab Group Ids are lost entirely when:
  * Merging two tab groups both with tab group ids (only one ID will
    continue to exist).
  * Removing the last tab from a group.
  * Deleting an entire tab group.

Bug: b/41496693
2024-03-08 14:56:12 -05:00
Artem Samoilenko f7d58f3502 [Android] NTP code adjustments
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/844b35bf460b339650d488d005935f802543cd0f

[MagicStack] ModuleRegistry shouldn't be a singleton class.

In this CL:
1) ModuleRegistry is created by ChromeTabbedActivity, and is
   plumbed to magic stack. This allows one ModuleRegistry per
   ChromeActivity, and is safe to register builder instances based on
   the ChromeActivity's data, like TabModel. A refactor is done to
   plumb the ModuleRegistry instance to Start surface | NTP.
2) Move some static APIs from ModuleRegistry to singleton class
   HomeModulesConfigManager. It allows HomeModulesConfigSettings to
   access the set of configurable modules.
3) Replace ModuleProviderBuilder#isEligible() with a new
   ModuleConfigChecker interface. It allows the details remain in each
   module builder.

Bug: b/324312039
2024-03-08 14:56:11 -05:00
Artem Samoilenko 532cad9062 [Android] Remove getLastUsedRegularProfile from sync settings
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/47d7a3577a78cbcc4d02ba8845abd32255ec3c8f

Remove getLastUsedRegularProfile from privacy_guide settings.

This instead uses the same consistent value that is passed in
and consistent across pages.

Bug: 1410601
2024-03-08 14:56:11 -05:00
Artem Samoilenko fa7d8c9b52 [Android] Remove semi-asynchronous callback from Java API for QR code generation
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/8fd2437a2c41996cd56a09df78dbec8db8cd84a3

Remove semi-asynchronous callback from Java API for QR code generation.

This is a follow-up to https://crrev.com/c/5278872 where we removed
the semi-asynchronous callback from the C++ code and replaced it with
directly returning the generated QR code.  This CL does the same thing
on Java side.

Bug: 40263739
2024-03-08 14:56:09 -05:00