diff options
| author | 2025-02-20 23:46:07 +0000 | |
|---|---|---|
| committer | 2025-02-25 21:21:49 +0000 | |
| commit | 45dc6eaa853ec1ab4ba92a0d83b681a75dcf666b (patch) | |
| tree | 70c20759feba96c39a1063569c5e4117e8c04ea5 /libs/androidfw/FileStream.cpp | |
| parent | 49596cca87175e297c2a5b6ad235ba43e86ae03d (diff) | |
[25/N] Desks: Replace visibleTaskCount checks with active desk checks
Many components use visibleTaskCount as a proxy for whether the system
is currently in desktop mode. This change abstracts that behind a
DesktopRepository#isAnyDeskActive function, which relies on activation
state rather than task count when multiple-desks are enabled.
Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 362720497
Test: move a task to a desk, verify the taskbar becomes pinned
Change-Id: I8d0798d97444ffcffc8f7d467c1f26a66e989244
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions