Commit Graph
5333 Commits
Author SHA1 Message Date
Artem Samoilenko 5c644db989 [cr149][Android] Plumb LocationBarFocusScrimHandler to LocationBarMediator
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/9968c93603137808ad94865feef269431b0c6db1

commit 9968c93603137808ad94865feef269431b0c6db1
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Mon Apr 20 15:03:13 2026 -0700

    Plumb LocationBarFocusScrimHandler to LocationBarMediator.

    This change should allow us to invoke Scrim when we need it.

    Bug: 485180312
    Change-Id: I0bb1f203d0e15c4948a61cedb4bb4c5e328b7d1a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7773078
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Sky Malice <skym@chromium.org>
    Auto-Submit: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1617792}
2026-05-22 16:25:11 -04:00
Artem Samoilenko 0a16a35e65 [cr149][Android] Changes for favicon getter
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/5ee2afaf87b258f0f692c32d17866114a996eb66

commit 5ee2afaf87b258f0f692c32d17866114a996eb66
Author: Zhe Li <zheliooo@google.com>
Date:   Mon Apr 20 13:08:32 2026 -0700

    [TabFavicon] Do not fallback to host for tab switcher and tab strip

    - Guarded behind feature flag sFaviconDisableHostFallback.
    - Sets `fallbackToHost = false` in LayerTitleCache.java and TabListFaviconProvider.java when feature is enabled.
    - Default `fallbackToHost = true` for all the other callsites.
    - Added histograms Favicons.AndroidHostFallbackFetchResult.* in favicon_helper.cc

    Bug: 468979189
    Change-Id: I5574adf85647c1d5205889dddc2bc42bfba35305
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7745223
    Reviewed-by: Theresa Wellington <twellington@chromium.org>
    Commit-Queue: Zhe Li <zheliooo@google.com>
    Auto-Submit: Zhe Li <zheliooo@google.com>
    Cr-Commit-Position: refs/heads/main@{#1617726}
2026-05-22 16:25:11 -04:00
Artem Samoilenko 9a7833bd45 [cr149][WIP][Android] Sync code in removed from ManageSyncSettings
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/008e21eee2ca1b4d967a68367121423f6e411e2b

commit 008e21eee2ca1b4d967a68367121423f6e411e2b
Author: Victor Hugo Vianna Silva <victorvianna@google.com>
Date:   Mon Apr 20 04:59:40 2026 -0700

    [sync/android] Remove sync-the-feature code in ManageSyncSettings

    kForceMigrateSyncingUserToSignedIn was enabled by default on Android
    in M148.

    OBSOLETE_HISTOGRAMS=The sync error card was removed, along with its histograms.

    Bug: 40066949
    Change-Id: I8317957d3ad7cdeecaac415a11a2974af90d65d4
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7772912
    Reviewed-by: Ankush Singh <ankushkush@google.com>
    Reviewed-by: Marc Treib <treib@chromium.org>
    Commit-Queue: Victor Vianna <victorvianna@google.com>
    Auto-Submit: Victor Vianna <victorvianna@google.com>
    Cr-Commit-Position: refs/heads/main@{#1617409}
2026-05-22 16:25:08 -04:00
Artem Samoilenko b42e1d7584 [cr149][Android] Fixes for AlreadyChecked nullaway warning 2026-05-22 16:25:08 -04:00
Artem Samoilenko 1936424dcb [cr149][Android] Changes for ThinWebViewFactory
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/0e9f87c1f965e3a4ec98bb5334ca4d70d95c62df

commit 0e9f87c1f965e3a4ec98bb5334ca4d70d95c62df
Author: Calder Kitagawa <ckitagawa@chromium.org>
Date:   Fri Apr 17 08:07:47 2026 -0700

    [TabBottomSheet] Add permissions support

    Bug: 491498632
    Change-Id: I44e91ce4ac8ef0bbc413503dd73123caba8cbbc5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7763465
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Reviewed-by: Theresa Wellington <twellington@chromium.org>
    Reviewed-by: Shakti Sahu <shaktisahu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1616570}
2026-05-22 16:25:08 -04:00
Artem Samoilenko 6c0af000b6 [cr149][Android] Changes for locking the toolbar when actuating
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/6e0e9337f49ea19d9e9246160c199089d3f21892

commit 6e0e9337f49ea19d9e9246160c199089d3f21892
Author: Hailey Wang <haileywang@google.com>
Date:   Mon Apr 20 12:27:25 2026 -0700

    [Glic] Lock the toolbar when actuating

    Bug: 501465099
    Change-Id: Ic5ad6bd5a247193c62d14f5c0ab7bc27f11022cd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7762873
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Hailey Wang <haileywang@google.com>
    Cr-Commit-Position: refs/heads/main@{#1617694}
2026-05-22 16:25:07 -04:00
Artem Samoilenko 3de1ba4f5c [cr149][Android] Nullmark Supplier<TabCreatorManager> correctly
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e08a5701d07c631663f475bb1ba331e303a6fb6c

commit e08a5701d07c631663f475bb1ba331e303a6fb6c
Author: Henrique Nakashima <hnakashima@chromium.org>
Date:   Fri Apr 17 12:02:30 2026 -0700

    [Android] Nullmark Supplier<TabCreatorManager> correctly

    This is part of adding @NullMarked to TabbedRootUiCoordinator

    Change-Id: I6ac5aa86205963624397e99b15180f06c1c7b488
    Bug: 389129271
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7766565
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1616739}
2026-05-22 16:25:07 -04:00
Artem Samoilenko 166a0147a5 [cr149][Android] Changes for TabbedAppMenuPropertiesDelegate c-tor
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/bafb125de13ea5ef6b6bf0a39398f836c834efc2

commit bafb125de13ea5ef6b6bf0a39398f836c834efc2
Author: Yanling <yanlinghu@google.com>
Date:   Mon Apr 20 11:56:14 2026 -0700

    [Feed] Part2 of remove web feed feature: Delete Web Feed small UI components and associated IPHs

    this CL cleans up various small UI components, including removing
    related In-Product Help (IPH) features and preference keys.

    1. Removed WebFeedMainMenuItem, WebFeedFollowIntroController,
    WebFeedFollowIntroView,WebFeedRecommendationFollowAcceleratorController,
    ClickableTextBubble and WebFeedSnackbarController.

    2. Removed IPH Features: Deletion reference: https://crrev.com/c/7067894
    - IPH_WebFeedFollow
      * Added in: https://crrev.com/c/2817518
    - IPH_WebFeedAwareness
      * Added in: https://crrev.com/c/3632953
    - IPH_WebFeedPostFollowDialogWithUIUpdate
      * Added in: https://crrev.com/c/4867332
    - IPH_WebFeedPostFollowDialog
      * Added in: https://crrev.com/c/4867332

    3. Removed Chrome Preference Keys:
    - WEB_FEED_INTRO_LAST_SHOWN_TIME_MS
    - WEB_FEED_INTRO_WEB_FEED_ID_SHOWN_TIME_MS_PREFIX
    - WEB_FEED_INTRO_WEB_FEED_ID_SHOWN_COUNT_PREFIX
      * Added in: https://crrev.com/c/2817518 and https://crrev.com/c/3692349
      * Deletion reference: https://crrev.com/c/7561272
      * Followed deprecation instructions from ChromePreferenceKeys.java: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/preferences/android/java/src/org/chromium/chrome/browser/preferences/ChromePreferenceKeys.java;l=36-39;drc=30c17203494464b1b107c90273c1358db359e04a

    Cq-Include-Trybots: luci.chrome.try:android-internal-binary-size;luci.chrome.try:android-internal-rel;luci.chrome.try:android-internal-dbg
    Bug: 407797637
    Change-Id: I0e3669255394f6121f5d5b4352171767d0f43fa3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7757080
    Reviewed-by: Theresa Wellington <twellington@chromium.org>
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Commit-Queue: Yanling Hu <yanlinghu@google.com>
    Cr-Commit-Position: refs/heads/main@{#1617671}
2026-05-22 16:25:07 -04:00
Artem Samoilenko ed7896dca4 [cr149][Android] Changes for tab favicon feature
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/5ee2afaf87b258f0f692c32d17866114a996eb66

commit 5ee2afaf87b258f0f692c32d17866114a996eb66
Author: Zhe Li <zheliooo@google.com>
Date:   Mon Apr 20 13:08:32 2026 -0700

    [TabFavicon] Do not fallback to host for tab switcher and tab strip

    - Guarded behind feature flag sFaviconDisableHostFallback.
    - Sets `fallbackToHost = false` in LayerTitleCache.java and TabListFaviconProvider.java when feature is enabled.
    - Default `fallbackToHost = true` for all the other callsites.
    - Added histograms Favicons.AndroidHostFallbackFetchResult.* in favicon_helper.cc

    Bug: 468979189
    Change-Id: I5574adf85647c1d5205889dddc2bc42bfba35305
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7745223
    Reviewed-by: Theresa Wellington <twellington@chromium.org>
    Commit-Queue: Zhe Li <zheliooo@google.com>
    Auto-Submit: Zhe Li <zheliooo@google.com>
    Cr-Commit-Position: refs/heads/main@{#1617726}
2026-05-22 16:25:06 -04:00
Artem Samoilenko 0ec29d0b7a [cr149][Android] Changes for partner bookmarks override
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/da43416448f4755db99108cd2361f328d3090f0e

commit da43416448f4755db99108cd2361f328d3090f0e
Author: Andrew Grieve <agrieve@chromium.org>
Date:   Wed Apr 15 08:31:29 2026 -0700

    Android: Roll NullAway 0.13.1 -> 0.13.3

    Bug: 502166094
    Change-Id: I6af3871c9cf3b529c654e466b2167282279e9537
    Cq-Include-Trybots: luci.chrome.try:android-internal-dbg,android-internal-binary-size
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7762582
    Owners-Override: Andrew Grieve <agrieve@chromium.org>
    Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
    Auto-Submit: Andrew Grieve <agrieve@chromium.org>
    Commit-Queue: Andrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1615193}
2026-05-22 16:25:00 -04:00
Artem Samoilenko 6096b5e237 [cr149][Android] Refactor baseButtonDataProvider to user button spec builder
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/cd92b2ad88f24a127a8bc1aa36f7eb6efbcf7b3b

commit cd92b2ad88f24a127a8bc1aa36f7eb6efbcf7b3b
Author: Hailey Wang <haileywang@google.com>
Date:   Tue Apr 14 19:02:01 2026 -0700

    [Glic] Refactor baseButtonDataProvider to user button spec builder

    Bug: 485624827
    Change-Id: Ib0812fd83c81b13f1b1f246139bb38beb0194e1a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7667476
    Reviewed-by: Siddhartha S <ssid@chromium.org>
    Reviewed-by: Salvador Guerrero Ramos <salg@google.com>
    Commit-Queue: Hailey Wang <haileywang@google.com>
    Cr-Commit-Position: refs/heads/main@{#1614895}
2026-05-22 16:25:00 -04:00
Artem Samoilenko b40d81b10a [cr149][Android] Changes for isPanelShowingForBrowser check to toolbar button
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/987491a33cac6fd9e68a3fe310fa3731bb9deb87

commit 987491a33cac6fd9e68a3fe310fa3731bb9deb87
Author: Hailey Wang <haileywang@google.com>
Date:   Mon Apr 13 19:38:50 2026 -0700

    [Glic] Add isPanelShowingForBrowser check to toolbar button

    Tracks the panel open state via GlobalShowHideObserver and
    isPanelShowingForBrowser.

    Did a small readability refactor for updateButtonState.

    Bug: 485624827
    Change-Id: Ic986e11bff70bdc52653518d309f79059828d2f5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7728992
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Hailey Wang <haileywang@google.com>
    Cr-Commit-Position: refs/heads/main@{#1614158}
2026-05-22 16:24:58 -04:00
Artem Samoilenko aad5b0bfa2 [cr149][Android] Changes for TabbedAdaptiveToolbarBehavior
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/bf83a63ce609a05fa1cbd9ad85b37920c3aa9e8d

commit bf83a63ce609a05fa1cbd9ad85b37920c3aa9e8d
Author: Hailey Wang <haileywang@google.com>
Date:   Mon Apr 13 15:16:05 2026 -0700

    [Glic] Make toggleGlic callback accept a boolean

    Bug: 498721993
    Change-Id: Ide0b83be60599c4ffa7c1b1e18d2340d2e6feab1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7747038
    Commit-Queue: Hailey Wang <haileywang@google.com>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1614006}
2026-05-22 16:24:55 -04:00
Artem Samoilenko 0084f40607 [cr149][Android] Changes for null-annotation of RootUiCoordinator
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/be6d55a5fb2031ad63aad40de4bd47244f98ba77

commit be6d55a5fb2031ad63aad40de4bd47244f98ba77
Author: Henrique Nakashima <hnakashima@chromium.org>
Date:   Fri Apr 10 08:56:51 2026 -0700

    [Android] Null-annotate RootUiCoordinator (part 18)

    Fix 1 NullAway error due to:
    - mMerchantTrustSignalsCoordinatorSupplier

    Down to 0 errors!

    Bug: 485252552
    Change-Id: I9eae5b7906ea55e036290557fd877022af78eebb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7736236
    Owners-Override: Andrew Grieve <agrieve@chromium.org>
    Reviewed-by: Andrew Grieve <agrieve@chromium.org>
    Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1612901}
2026-05-22 16:18:08 -04:00
Artem Samoilenko e8331ad5e4 [cr149][Android] Changes for removal of unused add|removeMostVisitedTileClickObserver
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/af52507108c6fe0f7cfda495aee2d256194266f2

commit af52507108c6fe0f7cfda495aee2d256194266f2
Author: Xi Han <hanxi@google.com>
Date:   Fri Apr 10 06:44:17 2026 -0700

    [NtpRefacotr] Remove unused add|removeMostVisitedTileClickObserver.

    Bug: 487641528
    Change-Id: Ia160a61ed693ddcd779b6936dfd28be057df2832
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7746025
    Reviewed-by: Xinyi Ji <xinyiji@chromium.org>
    Auto-Submit: Xi Han <hanxi@chromium.org>
    Commit-Queue: Xi Han <hanxi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1612819}
2026-05-22 16:18:08 -04:00
Artem Samoilenko f754331198 [cr149][Android] Fixes for ParameterName warnings 2026-05-22 16:18:05 -04:00
Artem Samoilenko ee0bf49c3c [cr149][Android] NTP vertical gaps for MVT
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/1527e1c0fa38dfb971603f9f59faf7de58c3f313

commit 1527e1c0fa38dfb971603f9f59faf7de58c3f313
Author: Samuel Huang <huangs@chromium.org>
Date:   Wed Apr 8 21:43:14 2026 -0700

    [Android NTP] Fix vertical gaps between adjacent main sections

    The New Tab Page (NTP) has multiple "sections" that are vertically
    stacked. Let's specify these with abbreviations:
    * FSB: Fake Search Box.
    * AIM: AI Mode Button + Incognito Button, AKA Composeplate.
    * MVT: Most Visited Tiles.
    * MS: Magic Stack, AKA New Tab Page Cards.
    * DF: Discovery Feed.

    Note that we're ignoring the Logo (above FSB) and promotion (e.g., for
    Sign in) sections.

    {MVT, MS, DF} may be absent sometimes:
    * NTP Customization can toggle {MVT, MS, DF}.
    * MS dynamically appears / disappears.

    AIM is now a permanent component of the layout and cannot be optionally
    removed.

    Let FSB-AIM be the vertical gap between the FSB bottom and AIM top.
    Similarly, define other spacings. Since {MVT, MS, DF} may be absent,
    there are 7 gap cases: FSB-AIM, AIM-{MVT,MS,DF}, MVT-{MS,DF}, MS-DF.

    Recently we found that these gap sizes are inconsistent. This CL fixes
    the inconsistency by making FSB-AIM = 8 dp, and everything else 16 dp:

      Gap          Old      Goal
      FSB-AIM     9 dp      8 dp
      AIM-MVT    25 dp     16 dp
      AIM-MS     18 dp     16 dp
      AIM-DF     18 dp     16 dp
      MVT-MS     16 dp     16 dp
      MVT-DF     16 dp     16 dp
       MS-DF     16 dp     16 dp

    Strategy:
    * Assign top margins to 12 dp for {FSB, MVT, MS, DF} and 4 dp for AIM.
    * Assign bottom margins to 4 dp. Previously this existed so that
      sections can expand to accommodate shadows. This is no longer
      needed, but we keep the margin anyway as buffer space.

    Note that 4 dp + 12 dp = 16 dp, which will be the standard spacing
    between sections; and the FSB-AIM exception is managed by 4 dp + 4 dp.

    In a previous CL (crrev.com/c/7603164), we removed the dynamic resizing
    logic that was previously required to accommodate the AIM view's shadow.
    With that logic removed, we can now rely entirely on these static
    margins, greatly simplifying the spacing definitions.

    Details:
    * For common dimensions define and use:
      @dimen/ntp_section_top_margin = 12 dp
      @dimen/ntp_section_bottom_margin = 4 dp
    * For AIM top margin define and use:
      @dimen/composeplate_view_margin_top = 4 dp
    * Define "padding" quantities to replace previous uses of
      section-specific "margin" quantities for padding.
    * Update ShowNtpAtStartupTest to expect the new standardized
      @dimen/ntp_section_bottom_margin on the MVT container.
    * Bump revisions in TabSwitcherLayoutPTTest and FeedV2NewTabPageTest to
      trigger Skia Gold rebaselines for the new spacing.

    Bug: 481717794
    Change-Id: I77adb4c8980a3bc2e0803a5b6cd0b2ac7a66d48a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7589698
    Commit-Queue: Samuel Huang <huangs@chromium.org>
    Reviewed-by: Brandon Wylie <wylieb@google.com>
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1611969}
2026-05-22 16:18:05 -04:00
Artem Samoilenko 5a7d81f4d1 [cr149][Android] Clean up viewport from FeedSurfaceCoordinator
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/6e568c66f774e3be549348fd1805242fb7a7b0c6

commit 6e568c66f774e3be549348fd1805242fb7a7b0c6
Author: Xi Han <hanxi@google.com>
Date:   Tue Apr 7 12:03:25 2026 -0700

    [Feeds] Clean up viewport from FeedSurfaceCoordinator.

    The viewport is always null in FeedSurfaceCoordinator. Remove it to
    clean up.

    Bug: 487641528, 493844946
    Change-Id: I1219e1c7556254f5394e45d78ffe54072858ac2c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7736941
    Reviewed-by: Xinyi Ji <xinyiji@chromium.org>
    Commit-Queue: Xi Han <hanxi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1610924}
2026-05-22 16:18:04 -04:00
samartnik cd9dbfdef5 [Android] Unify switch style across the app (#36652) 2026-05-22 16:35:58 +01:00
Simone Arpe cc3b0972b4 Early return when activity is finishing or destroyed (#36650) 2026-05-22 17:24:56 +02:00
samartnik 294e2d6f40 [Android] Remove text color overrides (#36646)
With new Nala color palette it is no longer necessary.
2026-05-22 09:31:44 -04:00
Aleksei Seren bb3c4fe724 Remove Brave News inline content ads dead code on Android (#36539)
The Brave News inline content ads pipeline is already disabled via
https://github.com/brave/brave-core/pull/32359. This PR removes the
remaining inline content ads Android code and mojom code that no longer
has any effect.
2026-05-21 14:16:24 -05:00
AlexeyBarabash 0abd84da8d [Sync] Forbid screenshots of QR code / sync words (#36592)
Resolves https://github.com/brave/brave-browser/issues/55701
2026-05-21 00:32:57 +01:00
Serg edb9d6dcac [CodeHealth][Android] Move BraveConstants out of deprecated util package (#36580)
Move BraveConstants.java from org.chromium.chrome.browser.util to
org.chromium.chrome.browser to align with upstream's hierarchy.
Upstream's analogous ChromeStringConstants lives directly under
org.chromium.chrome.browser, and the util package is treated as
deprecated for new top-level constants/utilities.

No behavior changes — pure refactor.

Resolves: https://github.com/brave/brave-browser/issues/55685
2026-05-20 16:58:33 -04:00
samartnik 02699f11a0 [Android][Nala] Remove tab switcher color overrides (#36578)
Now that we apply our Nala palette, there is no need in upstream color overrides.
2026-05-20 15:25:58 -04:00
Anton Paymyshev ec368b2dd8 [Wallet] Remove NftMetadataFetcher (#36566) 2026-05-20 21:33:04 +07:00
Serg 0bdbd07bdf [Android] Deep link to Brave Origin payment screen for Play promo events (#36556)
Adds support for the https://brave.com/deeplink-android-origin-promo
deep link so that Google Play promotional content events for Brave
Origin can route users directly into the Origin payment screen (or
settings page for existing subscribers).

Routing happens via the existing autoVerified brave.com App Link.
BraveActivity catches the intent before upstream's URL handling in
initializeState (cold start) and onNewIntent (warm start), and the
Play Install Referrer flow continues to support deferred routing for
first-install attribution.

Resolves: https://github.com/brave/brave-browser/issues/55654
2026-05-20 08:58:35 -04:00
samartnik 1daed5967d [Android] Fix for the shields layout in a certain configs (#36522)
* [Android] Fix for the shields layout in a certain configs

* [Android] Update javadoc
2026-05-19 20:39:14 +01:00
samartnik 707ea40d02 [Android] Adjust brave buttons layout size and margins to the address bar (#36481)
[Android] Adjust brave buttons layout size and margins

This adjusts it to the size and margins of the address bar in the upstream.
2026-05-15 14:41:23 -04:00
Anton Paymyshev b7fa3237ed [Wallet] Drop wallet onboarding p3a metrics (#36397) 2026-05-15 18:11:10 +07:00
vadims fb01221cb5 [Android] Update Shred Settings UI (#36431)
Added Shred settings UI modifications and an additional element to 
manage the browsing history shredding flag.

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

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2026-05-15 10:09:09 +02:00
Simone Arpe b79aa5bb38 Unlock orientation changes on tablets for WelcomeOnboardingActivity (#36446)
Unlock orientation changes for tablet layouts
2026-05-14 16:08:33 +02:00
Oliver 24ffd451b0 Android: Remove Password Manager's redundant help/exit title icons (#33858)
Within the Password Manager UI, the title bar contained two redundant
icons to the left of the title:

1. The help icon - since it only takes the user to the generic help
   page, this isn't particularly "helpful"
2. The 3 vertical dots simply display an exit option which is also
   redundant since the back arrow does the same thing.

Resolves brave/brave-browser#52765
2026-05-13 19:09:19 +01:00
samartnik 0976c39bab [Android] Apply Nala baseline color palette (#36408) 2026-05-13 17:05:52 +01:00
samartnik 98cc61c247 [Android] Fixes for orientation lock for VPN and Playlist activities (#36376)
* [Android] Fixes for orientation lock for VPN and Playlist activities

* [Review] Use "Checked" Companion Methods for Effectively Non-Null Returns
2026-05-13 10:52:12 -04:00
AlexeyBarabash 49edaf92c9 [Android] Fixed sorting on Appearance screen for some languages (#36358)
* [Android] Fixed sorting on Appearance screen for some languages

Resolves https://github.com/brave/brave-browser/issues/55281
2026-05-13 14:22:32 +01:00
Serg 3effe93f7d [Android] Apply IntentHandler internal-scheme guard to brave:// (#36370)
Aligns brave:// with chrome:// in IntentHandler.intentHasUnsafeInternalScheme.
The upstream guard is unaware of the Brave alias because the brave:// →
chrome:// rewrite happens after the intent layer.

BraveIntentHandlerClassAdapter redirects the upstream call site through
BraveIntentHandler.intentHasUnsafeInternalScheme. The Brave method defers to
upstream first, then additionally rejects brave:// under the same category
guard upstream uses. A new BraveIntentHandlerInternal helper holds the
bytecode stub used to back-call the (private) upstream method.

Resolves: https://github.com/brave/brave-browser/issues/55473
2026-05-12 22:07:15 +01:00
Simone Arpe f1cd4c159b Show new onboarding by default (#36349)
Shows the new onboarding flow by default and removes old unused code in
Java, XML layouts and strings.
2026-05-12 18:07:13 +02:00
AlexeyBarabash 8ec4b73b5a [Android] Fixed Account section containment after logout (#36331)
Resolves https://github.com/brave/brave-browser/issues/55429
2026-05-12 14:32:34 +01:00
Anton Paymyshev e87218b708 [Wallet] Drop balance and tx related P3A metrics (#36303)
[Wallet] Remove some wallet p3a metrics
2026-05-12 19:12:50 +07:00
Szilard Szaloki f9adffdb91 Account: add "outside" icon to Log out buttons (#36327) 2026-05-11 20:55:05 +01:00
Serg 824d5976cf [Android] Hide NTP ad settings when Rewards is disabled by policy (#36224)
Hides the "Show New Tab Page Ads" toggle and the
"Learn more about new tab page ads" link in
Settings -> New Tab Page when Brave Rewards is disabled by policy.
Both controls remain visible and functional otherwise.

Also switches BackgroundImagesPreferences to retrieve the profile via
the inherited getProfile() instead of the legacy
ProfileManager.getLastUsedRegularProfile().

Resolves: https://github.com/brave/brave-browser/issues/55312
2026-05-06 22:18:17 +01:00
Szilard Szaloki b07823bc8f Account: collapse 3-state model to 2 states with verification intent (#36111) 2026-05-06 21:54:05 +01:00
AlexeyBarabash 3f7e3723ee [Android] Fixed NTP status bar dynamic color (#35936)
* Fixed statusbar color when Dynamic colors flag is enabled

Resolves https://github.com/brave/brave-browser/issues/54252
2026-05-06 19:28:13 +03:00
AlexeyBarabash 6677720d0b [cr148][Android] Update zoom-related icons (#36196)
Resolves https://github.com/brave/brave-browser/issues/55104
2026-05-06 13:43:41 +03:00
AlexeyBarabash fbb28ae8f4 [Android] Fixed background outline when performing a password search (#36132)
Resolves https://github.com/brave/brave-browser/issues/55182
2026-05-04 17:10:26 +03:00
Serg b0756180eb [Android] Remove subtitle from Brave Origin toggles when enabled (#36055)
Resolves: https://github.com/brave/brave-browser/issues/55142
2026-04-30 18:50:21 +01:00
AlexeyBarabash ad8f9b8fe5 [Android][cr148] Fixed margin for Sync QR code (#36026)
Resolves: https://github.com/brave/brave-browser/issues/55092
2026-04-30 11:26:07 +03:00
AlexeyBarabash cfde1fbed4 [Android][cr148] Fix for VPN callout card when Settings Containment is on (#35982)
Resolves https://github.com/brave/brave-browser/issues/55041
2026-04-29 11:36:42 +03:00
Szilard Szaloki 4d70eeff99 Account: unblocks AuthenticationObserver usage in iOS Settings (#35925) 2026-04-28 14:58:21 -06:00