Files
brave-core/android/java
Artem Samoilenko c23efc4218 [cr147][Android] Changes for NTP Avatar
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/4f22c9c8d3976fc7ccae881d2645dfb480fd46dc

commit 4f22c9c8d3976fc7ccae881d2645dfb480fd46dc
Author: Anton Goncharenko <agonch@google.com>
Date:   Wed Feb 11 06:12:57 2026 -0800

    [Signin][Android] Migrate NTP Avatar to the activity-less sign-in flow.

    This is part of the effort to reduce reliance on
    SigninAndHistorySyncActivity by sign-in entry points.

    BottomSheetSigninAndHistorySyncCoordinator is instantiated in
    IdentityDiscController#setProfile, if it's a regular profile (not
    off-the-record). It gets destroyed if switched to incognito profile. In
    incognito the profile avatar button should be disabled, but as extra
    reassurance the sign-in flow crashes with an incognito profile.

    IdentityDiscController#onClick triggers the new flow via the coordinator
    when available, falling back to the legacy activity-based flow
    otherwise.

    Bug: 478812680
    Change-Id: I1643d7d12794b7c90bafd419191926cceae2f561
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7531719
    Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
    Commit-Queue: Anton Goncharenko <agonch@google.com>
    Reviewed-by: Menghan Yang <myuu@google.com>
    Cr-Commit-Position: refs/heads/main@{#1583182}
2026-03-26 19:24:57 -04:00
..