Files
brave-core/android/java
Artem Samoilenko 136cfc674a [cr147][Android] Changes for null-annotated RootUiCoordinator
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/61a82a1566fd970e84e97a209528055da082b76e

commit 61a82a1566fd970e84e97a209528055da082b76e
Author: Henrique Nakashima <hnakashima@chromium.org>
Date:   Mon Mar 2 13:10:58 2026 -0800

    [Android] Null-annotate RootUiCoordinator (part 5)

    This CL focuses on ModalDialogManager.

    In different places it's nullable or not, and it is sometimes passed as
    a Supplier and sometimes not. Generally, ChromeBaseAppCompatActivity has
    a MonotonicObservableSupplier which in some subclasses never gets set,
    but in the ones that create a RootUiCoordinator, the provider is set
    before the RootUiCoordinator is created.

    I've tried to keep Suppliers where instances are mostly passed via
    Supplier and the actual ModalDialogManager where the Suppliers have
    generally already been resolved.

    Reduced NullAway errors down to 69 again.

    Cq-Include-Trybots: luci.chrome.try:android-internal-dbg,android-internal-binary-size
    Change-Id: I081f4cfab1a80dc074b2886a0ff59cb176feff30
    Bug: 485252552
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7604913
    Owners-Override: Henrique Nakashima <hnakashima@chromium.org>
    Reviewed-by: Andrew Grieve <agrieve@chromium.org>
    Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1592697}
2026-03-26 19:55:30 -04:00
..