commit | bf0d5ffbe316616acb25ef2d421aaa87fd63367f | [log] [tgz] |
---|---|---|
author | Shakti Sahu <shaktisahu@chromium.org> | Tue May 07 20:58:03 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 07 20:58:03 2024 |
tree | d18475033603b3d3421f19e229c812a523132d1a | |
parent | 10fbd0648af8364a774e2103d290410fb95e1813 [diff] |
[Tab Group Sync] Only create new tab group current window is active For incoming tab group updates from sync, if we have more than one activity running, we should create the local tab group in only one of them. We should never create the tab group in both windows. This CL does that by checking ApplicationStatus#getLastTrackedFocusedActivity which is guaranteed to be the last focused activity (in case of more than one activity), or the single chrome activity that is running and still not destroyed. Bug: b/332914312 Change-Id: Ie10c128cf49078b64ded37ba451c33a53b8b7f67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5519778 Reviewed-by: Aishwarya Rajesh <aishwaryarj@google.com> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/main@{#1297755}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.