Commit Graph
1407 Commits
Author SHA1 Message Date
Artem Samoilenko 75426e62d5 [cr147][Android] Remove ic_arrow_down icon
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/db9b08b6c3709f3bdd75494e4c8c5038dbe0c284

commit db9b08b6c3709f3bdd75494e4c8c5038dbe0c284
Author: Jacob Stanley <jacobstanley@google.com>
Date:   Mon Mar 2 14:26:16 2026 -0800

    [Privacy Sandbox Clank] Remove Restricted Notice

    NO_IFTTT=Removing android_java formatter_data since Clank notice code is
    being deleted. Deleting all the strings, after they are fully unused on
    all OS's will come in a following CL.

    Bug: 474716334
    Change-Id: Ia0600619efaa67b898133af161c4a898ee4a09b7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7618303
    Commit-Queue: Jacob Stanley <jacobstanley@google.com>
    Reviewed-by: Abe Boujane <boujane@google.com>
    Cr-Commit-Position: refs/heads/main@{#1592748}
2026-03-26 19:55:27 -04:00
Serg 62575a9e0b [Android] Show loading state in Origin preferences during post-purchase credential fetch (#34955)
* [Android] Show loading state in Origin preferences during post-purchase credential fetch

When a Brave Origin purchase is completed, there is a delay while the
receipt is passed from Play Store to the SKUs SDK via
fetchOrderCredentials. During this time, the Origin preferences screen
opens but credentials aren't ready yet.

- Disable all toggles and clickable preferences until
  fetchOrderCredentials completes
- Show a snackbar with "Disabling features" spinner instead of
  "Restart now" during the credential fetch
- On success, re-enable preferences and transition to "Restart now"
- On failure, close the preferences screen
- Always show restart snackbar on toggle change regardless of
  setPolicyValue result, since failure means a restart is needed
- Remove duplicate color definitions (schemes_primary_fixed_dim,
  schemes_on_primary_fixed, semantic_text_secondary,
  semantic_text_tertiary) that already exist in nala tokens

Resolves: https://github.com/brave/brave-browser/issues/53915
2026-03-25 15:54:01 +01:00
samartnik afb83224c9 [Android] UI preparation for custom search engines (#34890)
This PR is only prepares UI and strings, the main implementation will be done separately in the context of brave/brave-browser#21837
2026-03-23 15:33:09 -04:00
AlexeyBarabash a5c47b8f71 [Android][Settings Search] Replace background images with the void (#34687)
Resolves https://github.com/brave/brave-browser/issues/53524
2026-03-13 22:41:49 +02:00
Serg 94c841cc01 [Android] Use Nala ic_search icon for dark theme support (#34679)
Remove hardcoded ic_search.xml (#495057 fill) that was shadowing the
Nala version which uses @color/icon_default for proper light/dark
theme adaptation.

Resolves: https://github.com/brave/brave-browser/issues/53297
2026-03-12 16:32:52 -04:00
AlexeyBarabash 01e05371c8 [CodeHealth][Android] Ignore more patches for overwritten resources (#34534)
* [CodeHealth][Android] Ignore patch generation for overwritten resources

This is update of the Android resources list we should
not generate patch for because we overwrite them.

Converted bookmark_toolbar.xml layout file override to patch, 
because it is trivial.

Resolves https://github.com/brave/brave-browser/issues/53436
2026-03-11 15:14:28 +02:00
Simone Arpe aebf44f653 Fix private tab layout and RTL support (#34401) 2026-03-04 14:20:06 +01:00
Simone Arpe 3f35655f1d Implement new layout for widget search promo panel (#34207)
Implements new layout for widget search promo panel and introduces better handling of activity recreations and configuration changes to redraw the widget search promo panel with correct theme (day/night) and proper position.

Other notable enhancements:

- Tweak tablet margins to better frame the onboarding cards on foldable devices after initial review with the design team.
- Fix post-FRE intent and delay activity to avoid a glitch on foldable devices by following the same strategy applied upstream.
- Accessibility: include content descriptions for widget search promo panel images.
- Nala: include new drawables from Nala tokens.
- Append new source android-widget for all searches made from the widget.
- Implement tests to verify new source android-widget.
2026-02-27 13:45:17 +01:00
AlexeyBarabash 127bf8eadd [cr146][Android] Upstream's cleanup at manage_sync_preferences.xml
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/df136265928cb56af0abb4b8fd1553f2504df07a

	[Signin][Android] Remove FirstRunSigninProcessor and related code

	We stopped writing FIRST_RUN_FLOW_SIGNIN_SETUP in 2022
	(https://crrev.com/c/3870839), so this code is not used anymore.

	Bug: 476062000
	Change-Id: Ia55eaee837c8166f39738ee95443f2f3af8fc457
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7485646
2026-02-26 13:47:45 +00:00
Jay Harris 68bf9b0a88 [Nala]: Support Nala icons in Android (#34141) 2026-02-25 02:12:01 +00:00
Jay Harris 2a3434f0f3 [Nala]: Add Android color tokens (#34106)
* [Nala]: Add color tokens on Android

* [Nala]: Convert some color tokens over to Nala as PoC
2026-02-24 22:40:52 +00:00
Simone Arpe 8439975265 Implement tablet layouts for new onboarding flow (#33936)
Implements tablet layouts for new onboarding flow study following Figma design.
2026-02-17 14:26:37 +01:00
Serg 5a32bc88c0 Update Android Origin payment UI from subscription to one-time purchase (#33950)
Update Android Origin paywall from subscription to one-time purchase

- Replace monthly/yearly subscription plan selectors with single "One Time Purchase" plan row
- Add 4th feature benefit: one-time purchase, no subscription cost
- Add Origin description and Brave Search Premium note sections
- Replace "Try 7 days free" with "Buy now" button
- Replace "Refresh your credentials" with "Get a login code" button
- Remove "Learn more about Origin" button and unused resources
- Update text styles per design spec
- Comment out billing integration for later hookup

Resolves: https://github.com/brave/brave-browser/issues/52855
2026-02-14 04:20:39 +00:00
Serg fc1c6e3181 [Android Origin] Update Android preferences UI and add restart snackbar (#33867)
Redesign the Origin preferences screen: add a custom restart
snackbar with dismiss button shown on toggle changes, split then
description into styled title/body/note sections, and rename
the bottom section from Subscription to Purchase.

Resolves: https://github.com/brave/brave-browser/issues/52774
2026-02-12 00:36:30 +00:00
Simone Arpe 59c4389a4b New onboarding flow study (smartphones and small screens) (#33521)
Updates the Day Zero onboarding experience on smartphones and small screen devices to a multi‑step, horizontally advancing flow driven by CTA buttons.
It introduces distinct layouts per step, a pager animation helper, and updates onboarding logic to support a scalable, multi‑step sequence with minimal duplication.

Tablet support is intentionally out of scope and will be handled in a separate PR.
2026-02-06 12:13:01 +01:00
Artem Samoilenko 71b216aad9 [cr145][Android] Update incognito_fill icon
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/1d7e9c164cf06e791c50e8e32b32ff98aa60e32a

commit 1d7e9c164cf06e791c50e8e32b32ff98aa60e32a
Author: Wenyu Fu <wenyufu@chromium.org>
Date:   Wed Dec 10 21:48:59 2025 -0800

    [Icons] Update incognito_fill icon

    incognito_simple -> incognito_fill_24dp.

    Bug: 466238435
    Change-Id: Ibf713feb61631ccf823e0e1b7a6079d1e7ac4c64
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7244330
    Reviewed-by: Sinan Sahin <sinansahin@google.com>
    Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1557128}
2026-01-29 13:41:17 -05:00
Artem Samoilenko f1d1c1bf1c [cr145][Android] Update Add icon drawable name
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c4039f85750b4e7b5845545a1131296cd7a07296

commit c4039f85750b4e7b5845545a1131296cd7a07296
Author: Jenna Himawan <jhimawan@google.com>
Date:   Thu Dec 11 15:25:40 2025 -0800

    [Icons] Update Add icon drawable and name

    Bypass-Check-License: File rename; not a new file
    Bug: 465844226
    Change-Id: I4ae0996076205e52315101082ac3e9b0f15369f6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7247464
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Jenna Himawan <jhimawan@google.com>
    Cr-Commit-Position: refs/heads/main@{#1557733}
2026-01-29 13:40:36 -05:00
Artem Samoilenko 6a4e5ef849 [cr145][Android] Remove btn_tabstrip_switch_normal
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ed2e0467b830503b0d97dc31880be4cf2d9e3952

commit ed2e0467b830503b0d97dc31880be4cf2d9e3952
Author: Wenyu Fu <wenyufu@chromium.org>
Date:   Wed Dec 10 21:16:51 2025 -0800

    [Icons] Remove btn_tabstrip_switch_normal

    Apparently unused.

    Bug: 467789995, 466238435
    Change-Id: I204f20d1a1d3d67260f6ebfbf902a4f91e8d0736
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7248305
    Reviewed-by: Joel Tan-Aristy <jtanaristy@google.com>
    Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1557120}
2026-01-29 13:40:36 -05:00
samartnik 5edc5d977f [Android][Large Screen] Minor accessibility fixes for NTP (#33497) 2026-01-29 13:27:16 -05:00
samartnik d34037fa36 [Android][Large Screen] Add highlight for Brave News options (#33463) 2026-01-28 12:02:05 -05:00
Brian Johnson 00d4bc735d Fix copyright presubmit issues that came when moving files in https://github.com/brave/brave-core/pull/33159
This allows 33159 to just move the relevant files with no changes to them
2026-01-13 20:31:33 +00:00
Artem Samoilenko 562c4de0f5 [cr143][Android] Changes for sign-in promo view
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/2f15e80d353d410c1ca49a751ffce45ea1aa3566

commit 2f15e80d353d410c1ca49a751ffce45ea1aa3566
Author: quacksort <quacksort@google.com>
Date:   Fri Oct 17 08:04:18 2025 -0700

    [Signin][Android] Move seamless sign-in promo view outside of discover feed in NTP

    When seamless sign-in is enabled, the the sign-in promo has now been
    moved outside of the discover feed, above the magic stack cards.

    This still uses the old strings.

    Screenshot: https://crbug.com/437119756#attachment70217969

    Bug: 437119756
    Change-Id: Id4eb35e9756d80f22a62b4551b70fce3abb35ae9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6973684
    Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
    Reviewed-by: Menghan Yang <myuu@google.com>
    Commit-Queue: Lucia Giorgi <quacksort@google.com>
    Cr-Commit-Position: refs/heads/main@{#1531427}
2025-11-18 11:26:21 -05:00
Artem Samoilenko a490d490c0 [cr143][Android] Changes for kLinkedServicesSetting disabled code
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8e0ca53362ef330a49b98c7add3a7857fc82405e

commit 8e0ca53362ef330a49b98c7add3a7857fc82405e
Author: Martin Šrámek <msramek@chromium.org>
Date:   Tue Oct 7 11:40:45 2025 -0700

    Remove the kLinkedServicesSetting disabled code on Desktop and Android

    Since the feature has been launched.

    Apart from removing many references to the feature, flag, and tests, we're also adapting the ManageSyncSettings code from the previous approach (where the old strings were set in the XML file and the new strings programmatically overwritten in the Java code) to one where the strings are simply set in the XML file.

    We're not removing the equivalent codepaths on iOS, where it hasn't launched yet.

    Bug: 343132001
    Change-Id: I8b92689b67db9485e87dd99657a32f1601277553
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7006398
    Reviewed-by: Rainhard Findling <rainhard@chromium.org>
    Commit-Queue: Martin Šrámek <msramek@chromium.org>
    Reviewed-by: Marc Treib <treib@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1526439}
2025-11-18 11:18:49 -05:00
Terry Mancey 75a2652d65 [ads] Remove Android super referrals (#32158)
Remove Android Super Referrals. The feature is no longer supported or
used, and this cleanup helps reduce unused code and simplify the overall
system as part of https://github.com/brave/brave-browser/issues/44403.
2025-11-17 15:23:55 -05:00
Artem Samoilenko 01faa34916 [cr143][Android] Changes for StatusIcons size constraint
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c818a3850128c73f62537482e36f43367e9c40ce

commit c818a3850128c73f62537482e36f43367e9c40ce
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Oct 3 15:11:19 2025 -0700

    Ensure all StatusIcons meet the specific size constraint.

    We've observed a weird behavior when toggling search engines results
    in oversize and cropped search engine icon shown in the omnibox.

    This is partially because the ChromeTransitionDrawable animating
    between states receives Drawables of inconsistent sizes, and changes
    its intrinsic size, trying to accommodate the larger of the drawables.

    Second more important factor is that the StatusIconResource carrying
    drawable was shared between two different views - the NTP Fakebox and
    the Omnibox. One view altering the Drawable state made the other view
    instantly see these alterations, resulting in wrong positioning of
    the icon.

    This change aligns all StatusView icon sizes, ensuring that no icon
    can ever change the intrinsic size of the TransitionDrawable.

    Change intentionally kept small as it will need to be cherrypicked.

    Fixed: 449181250
    Change-Id: I59953971b99a01d015aa2398db058677c7816d7c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7007583
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1525046}
2025-10-15 20:31:36 -04:00
samartnik 851cdf1f34 [CodeHealth] Separate Brave-specific resources from Chromium overrides (#31571)
[Android] Separate Brave-specific resources from Chromium overrides
2025-10-02 08:50:51 -04:00
samartnik bd57c6c37b [Android] Update header image for quick shortcuts and optimization (#31528)
* [Android] Update header image for quick shortcuts and optimization

Optimizations done:
- Initialize leo and wallet controllers regardless if feature enabled or not. This is because at this point native is not guaranteed to be initialized to check the feature. Check for option visibility is done in `BraveRadioButtonGroupAdaptiveToolbarPreference` instead.
- Override `buildUiStateForStats` to avoid asserts on Brave specific options.

* Fix for tests

* Fix for JUnit tests
2025-10-01 09:35:18 -04:00
Oliver 0bf55f3da0 [Android] Update light/dark colours from Nala XML definitions (#31329)
This change has been produced using a Ruby script that implements the
following logic:

1. For each <color> tag in the destination, try to find one in the
   source with the same name
2. If found, update the destination tag with the colour from the source
   tag
3. If not found, do nothing and move onto the next tag.
4. Tags that exist in the source but not the destination are ignored.

Currently, some tags exist in the destination XML that are missing from
the source and also vice versa.

Once this has been resolved, we should be able to delete the files in
this diff and move to simply copying the generated XML files straight
out of brave/leo.

Additionally, a small change has been made to the Brave Sync "Add New
Device" button to use a Nala-defined colour rather than being hard-coded
to white.

Closes brave/brave-browser#49143
2025-09-30 23:34:24 +02:00
Brian Johnson 1f27a328c6 [Speedreader] Remove speedreader on android (#31418)
Remove buggy speedreader implementation on android
2025-09-29 11:52:46 +09:00
samartnik 9628962880 [Android] Fix for hairline height (#31434)
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e981dd46821f563acaa6a5a3d8fd51e046e311e2

commit e981dd46821f563acaa6a5a3d8fd51e046e311e2
Author: Patrick Noland <pnoland@google.com>
Date:   Wed Aug 13 13:37:18 2025 -0700

    [Toolbar] Rework hairline positioning

    Manually calculating the margin for the hairline is error-prone and
    tedious when multiple components can alter the height of the toolbar.
    Instead of manual manipulation, we can position it "for free" by using
    coordinator layout's anchor gravity concept.

    This does require switching the toolbar container to be a
    CoordinatorLayout. Mostly this is easy since CoordinatorLayout is a more
    powerful FrameLayout. There is one consideration: OptimizedFrameLayout,
    formerly in the inheritance chain for the toolbar container, reduced the
    number of measure calls on ToolbarLayout for performance reasons.

    This ends up not mattering because CoordinatorLayout performs the same
    number of measure calls.

    NO_IFTTT=Adding block for the first time

    Change-Id: Idfbb41afbbb1d361214cd0e8e585fefa545aee89
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6828889
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1501003}
2025-09-25 22:26:26 -04:00
Kevin Smith 7f6dbf689e [Rewards] Remove unused Rewards UI on Android (#30900) 2025-09-25 16:31:12 -04:00
AlexeyBarabash 6b91d51e6d [cr141][Android] Changes at new_tab_page_layout.xml
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/187fd6cd3fdf5d6125f78de37c7da5c9bc1bd59f

	[Composeplate] Implement V2 UX with 2 buttons.

	In this CL, we implement the V2 variations of composeplate view:
	- Increase Fake search box height to 72dp;
	- Add the composeplate view with 2 buttons and reduce visible background
	  height to 44dp;
	- The composeplate button in url_bar is no longer visible when
	  scrolling NTP;
	- Add a new feature parameter "v2_enabled" for this new UI variation.
	Screenshots: http://shortn/_tC3hspQIv9.

	Bug: 421944848
	Change-Id: I25d152370dce3497fb347c392665e82c6566d991
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6953030
2025-09-24 17:56:46 -04:00
Oliver 5addb66841 [Android] Support import of passwords from CSV (#31056)
* [Android] Refactor PasswordSettings.java to use an XML layout file.

The PasswordSettings.java file now integrates with a new XML file that
contains the layout for the page. This modification was completed using
Cursor but does not appear to have introduced any breaks.

There should be no semantic changes caused by this commit and the Brave
Password settings screen should continue to function exactly as it did
prior to this commit.

* [Android] Introduce new Import/Export items to password manager menu.

The password manager dialog now features two items for export and
import. Prior to this commit, Export was hidden away in a small
drop-down menu accessible from the top-right of the screen.

The import item is also present, but non-functional in this commit.

* [Android] Implement importing passwords from CSV.

We now support importing a CSV file containing the user's passwords.
This commit builds upon its parent by implementing the necessary code to
call Chromium's password manager which is responsible for executing the
import.

Additionally, the icons in the password manager screen have been changed
to new ones taken from Google's Material UI icon set.

Localisation strings have been introduced - some of which are copied
from Google's base since, after discussion, this is the way we currently
make strings usable for Android. If this changes in future, these could
be de-duplicated. Translations into other languages are still necessary
since only English is implemented.

Closes brave/brave-browser#35729
2025-09-24 16:07:14 +02:00
Artem Samoilenko cb21669d9e [cr141][Android] Adjust icon for the new main menu item
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8c20f1c394693bcb5f98982e3d188319c9568107

commit 8c20f1c394693bcb5f98982e3d188319c9568107
Author: Fiaz Muhammad <mfiaz@google.com>
Date:   Tue Aug 12 07:40:28 2025 -0700

    [TabGroupParity] Enable feature by default

    - Switch TabGroupParity and EntryPoints flags to enabled by default.
    - Fix broken tests.

    Bug: 391387522
    Change-Id: I78e7ed6a3e88598657fd314e270a590c17897258
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6832532
    Commit-Queue: Fiaz Muhammad <mfiaz@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Auto-Submit: Fiaz Muhammad <mfiaz@google.com>
    Cr-Commit-Position: refs/heads/main@{#1500131}
2025-09-22 14:59:42 -04:00
Artem Samoilenko 33f3d6cc51 [cr141][Android] Removes btn_suggestion_refine drawable
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e7b3061a6b33a2fe6ce4cffe0e78d5aee76933b0

commit e7b3061a6b33a2fe6ce4cffe0e78d5aee76933b0
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Aug 8 10:09:06 2025 -0700

    Reflect Omnibox placement in refine arrow direction.

    The change propagates the Toolbar position down the Autocomplete UI
    stack allowing the suggestions to reorient their UI in response to the
    toolbar position change.

    Change-Id: Ia28e8d7d4dbf0da5133ca3768e3356ba98c63a48
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6829043
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1498883}
2025-09-22 14:59:32 -04:00
samartnik d8cd91653c [Android] Fix for the bottom padding of the main menu (#31315) 2025-09-22 07:56:03 -04:00
vadims 9ea69c1d1b [Webcompat Reporter] Add a padding between string and dropdown menu (#31272)
Increase the distance between the dropdown menu and its label.

Resolves: https://github.com/brave/brave-browser/issues/48270

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-09-18 16:51:42 +02:00
Simone Arpe 673b2e1833 Implement new preference screen "Customize menu" (#31172)
The custom menu item preference screen follows the Figma design and is composed by two sections, Main menu and Page actions.

The screen shows only those items that are supported by the device, items that will never appear won't be shown.
Each item's visibility will default to true and each preference is saved on shared preferences.

The only two items whose visibility cannot be modified are the Main Settings item and the Custom Menu item itself.
2025-09-16 13:54:29 +02:00
Serg 1287169d1e Let users to display only one tiles row in in quick action search widget (#31111)
Let users to display only one tiles row in in quick action search
widget

There are cases on some devices where it is impossible to display
only one tiles row, it displays two right away.
Resolves: https://github.com/brave/brave-browser/issues/49110
2025-09-10 02:10:49 +09:00
Brian R. Bondy 24d9b92d6d Remove top sites suggestions provider (#31073)
The list was not updated nor maintained, and even had invalid entries.

On device which uses a local ML model was tied to this preference for some reason too, so that keeps the preference around and has a checkbox for just that now.

For Android, it doesn't support on device suggestions because the ML
models aren't available there, so no checkbox was added there.
2025-09-08 11:42:41 -04:00
Serg 965a2b137d Hit all 4 edges in quick action search widget (#31018)
Search only form should not hit top anb bottom but a view with top
tiles should hit all 4 edges.
Resolves: https://github.com/brave/brave-browser/issues/48943
2025-09-03 20:24:16 -04:00
AlexeyBarabash 75914cd582 Android tab switcher incognito icon (#31021)
* Updated icons with product-private-window.svg from Leo repository
* Moved incognito_simple icon corresponding to upstream's place

Resolves https://github.com/brave/brave-browser/issues/48913
2025-09-04 07:59:34 +09:00
samartnik 3b342ba258 [Android] Move Quick Shortcut setting to Appearance (#30936) 2025-08-29 14:39:46 -04:00
AlexeyBarabash b5a55e8879 [cr140][Android] Replace tablet arrows icon with correct ones (#30873)
This fixes cr140 regression intruduced at
https://github.com/brave/brave-core/pull/29767/commits/a578a9cfec558824dc6d9264b397957e0d7b5989

Resolves https://github.com/brave/brave-browser/issues/48634
2025-08-27 20:29:01 +03:00
AlexeyBarabash d7256b1461 [cr140][Android] Backport built-in Password Manager (#30433)
Starting from cr140 Password manager was removed from Android.

This commit switches Android to use the same PasswordManagerSettingsService
as Desktop does.
Also backports upstream's Password Manager classes and resources used at cr139.

Chromium changes:

https://source.chromium.org/chromium/chromium/src/+/7511b67d9208bd10463c1e5752976346ab6bd207
	[LoginDbDeprecationAndroid] Remove last usages and delete the flag

https://source.chromium.org/chromium/chromium/src/+/5794e9a0461497b7b810e9366c1c53eab711b6f2
	[passwords/android] Limit kPasswordsUseUPMLocalAndSeparateStores access

https://source.chromium.org/chromium/chromium/src/+/6875d2ce472e7f2097617525feec45313602e225
	[passwords/android] Remove unused password checkup UI

https://source.chromium.org/chromium/chromium/src/+/3662471ee9fabd6d1777b1d5316f0b9eede0f115
	[passwords/android] Remove unused PasswordSettings.java

Or see the log for `chrome/browser/password_manager/android/` directory
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/password_manager/android/;bpv=1
2025-08-20 01:06:59 +03:00
AlexeyBarabash 3a31b31511 [cr140][Android] Changes at NewTabPageLayout
- updated new_tab_page_layout.xml;
- renamed insertSiteSectionView to initializeSiteSectionView

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/e6fb5317f5439ed23952329bd901cca10ad70dbd

	Remove Unnecessary MVT FrameLayout

	This CL is a follow-up to
	https://chromium-review.googlesource.com/c/chromium/src/+/6771167, which
	removed the unused placeholder for the Most Visited Tiles (MVT) section.

	With the placeholder gone, we no longer need to switch visibility
	between it and the mv_tiles_layout at the MVT section's position.
	Therefore, this CL removes the FrameLayout that previously wrapped both
	the mv_tiles_layout and the placeholder.

	Bug: 421436204
	Change-Id: I8937fcca9dcee78be2a3e3a994ed5aca251c5cd6
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6777058
2025-08-19 19:54:28 +01:00
AlexeyBarabash a578a9cfec [cr140][Android] Update btn_right and btn_back to newer asset
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/f5f7db8839213f6a812ba2fb5972547225d0347b

	Update btn_right and btn_back to newer asset

	Replaces btn_right.png and btn_left.png with a newer material vector drawables.

	Bug: 425739282
	Change-Id: Ic1c50a79c7c1eedb7d69e727bbc2463b1bc94cc7
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6692114
2025-08-19 19:54:21 +01:00
AlexeyBarabash 6f28f4e9aa [cr140][Android] sync: Add extensions checkbox to settings on desktop Android
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/2460bafb67b67c895e7eb21e63fcdfaac1bcfbf5

	sync: Add extensions checkbox to settings on desktop Android

	Support for extensions sync was recently added to desktop Android.
	Update the sync settings page to add a checkbox for the sync data
	type.

	      toggles sync data type in chrome://sync-internals

	Test: added to chrome_public_test_apk
	Test: manually verified checkbox appears on desktop Android and
	Test: manually verified checkbox does not appear on non-desktop Android
	Bug: 424217517
	Change-Id: Ifd6643e1d8b013e5d5383d21ef31a51863277650
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6652500
2025-08-19 19:54:17 +01:00
Serg 206bf8e572 Update quick action search and bookmark widget preview picture (#30651)
That is a follow up of https://github.com/brave/brave-browser/issues/48344.
A preview picture has to be updated to include Leo icon.
Resolves: https://github.com/brave/brave-browser/issues/48424
2025-08-15 06:42:43 +09:00
Serg 94a2830f4d Update quick action search and bookmark widget preview picture (#30606)
It is a follow up of https://github.com/brave/brave-core/pull/30239.
A preview picture has to be updated to include Leo icon.
Resolves: https://github.com/brave/brave-browser/issues/48344
2025-08-12 14:33:42 -04:00