| commit | 0b08fafc07b51ecb22ee3ea9c1f61e5124b45b74 | [log] [tgz] |
|---|---|---|
| author | Lijin Shen <lazzzis@google.com> | Fri Sep 26 04:52:19 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 26 04:52:19 2025 |
| tree | 8a4b961383e72bf49c00da966d72f7c9a4ea3a36 | |
| parent | 0042d4263d00c82cdef41854c3ee82960496529a [diff] |
reland Use `getLastRawWindowInsets` to check for desktop windowing. Per screenshots from failed tasks, the test did run on a non-desktop tablet. This CL updates to use `activity.isInMultiWindowMode()` to check if the current activity is in desktop windowing mode. While this also applies to split-screen mode in non-desktop windowing scenarios, the relevant APIs will double-check the bounds to determine if the window is minimized or maximized. Bug: 442659190 Change-Id: I3698cedb6d2f71a4f1c983e73b648f095f35452b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6963170 Reviewed-by: Linyu He <linyuh@google.com> Commit-Queue: Lijin Shen <lazzzis@google.com> Cr-Commit-Position: refs/heads/main@{#1521053}
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.