Files
brave-core/android/java
Artem Samoilenko 45154aa725 [cr145][Android] Refactor MultiWindowUtils#closeWindow(instanceId) -> closeWindows(List<InstanceId>)
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/9eab1379c2ec6297c9d582ad90547ae712934e22

commit 9eab1379c2ec6297c9d582ad90547ae712934e22
Author: Zhe Li <zheliooo@google.com>
Date:   Thu Dec 18 11:11:19 2025 -0800

    [RWM][RecentlyClosed] Clear all inactive windows in addition to tab entries

    - Refactor #closeWindow(instanceId) -> closeWindows(List<InstanceId>) to align with other closeTab impl and to avoid instanceStateObserver#onInstanceClosed() Invoked multiple times when removing multiple windows.

    Demo: https://drive.google.com/file/d/1WCRDoJ23bFnRss-k0atyn-cT1DgsZ2TO/view?usp=sharing

    OBSOLETE_HISTOGRAM[Android.MultiWindowMode.CloseWindow.AppSource]=Replaced by Android.MultiWindowMode.CloseWindow.AppSource2

    Bug: 444680605
    Change-Id: Ibbcaa1559bb8ec555b9f5add03a9dc4fe2d7a7d2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7261791
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Zhe Li <zheliooo@google.com>
    Cr-Commit-Position: refs/heads/main@{#1560697}
2026-01-29 13:40:57 -05:00
..