diff options
| author | 2025-01-08 01:15:28 +0000 | |
|---|---|---|
| committer | 2025-01-16 05:48:24 +0000 | |
| commit | 2e3ca633291629b4b6b09ee82958d05514d898f5 (patch) | |
| tree | 4d783228d0f215398136200f06a362324a0ea642 /libs/androidfw/StringPool.cpp | |
| parent | df5ec06dab31be3e176945f37b7d5a140e25cd81 (diff) | |
[2/N] Desks: Add multi-desk data structures
This change adds basic new data structures to prepare for multi-desk
support and renames some existing ones to better align with multi-desks:
1) Adds DesktopDisplay: contains all desks as a well as the active one
2) Renames DesktopTaskData to Desk
Also moves |desktopTaskDataByDisplayId| behind a DesktopData interface
to allow swapping the implementation with one that supports
multiple desks when the flag is enabled, and refactors all callsites to
use the interface instead.
Finally, adds some basic functions to DesktopRepository to create,
remove and mark a desk as active.
Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 389960283
Test: with flag disabled, no changes
Test: atest WMShellUnitTests
Change-Id: I64383b25af627d78762dbd375b87480e8da2bc21
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions