diff options
| author | 2025-01-15 18:52:22 +0000 | |
|---|---|---|
| committer | 2025-01-23 02:07:02 +0000 | |
| commit | ba157eadc17728af7fc11eb5280aff20c61cc8cc (patch) | |
| tree | 04f37ed85130a8270c6cdbd980157dd72cffe1a2 /libs/androidfw/AttributeResolution.cpp | |
| parent | a6033f9196cc5c491191694c3aa629cf63ca3708 (diff) | |
[5/N] Desks: Add DesksOrganizer and create default desks
Adds a DesksOrganizer interface (and root-task based
RootTaskDesksOrganizer impl.) to handle the creation/removal/etc of desk
containers within a display.
As a starting point, when a display appears (and desktop mode is
enabled), an empty desk is created. Additionally,
DesktopDisplayEventHandler is configured to always create a new empty
desk if the display's desk count reaches 0.
The shell command handler createDesk command is also hooked up to create
desks on demand.
Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 390460212
Test: adb shell dumpsys activity service SystemUIService WMShell | grep
\ -A20 DesksOrganizer -> shows desk after display appears
Change-Id: Ibe75ce1fbb6dd95a8b53e76d703374ff40d01ebc
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions