diff options
| author | 2025-02-22 20:52:45 +0000 | |
|---|---|---|
| committer | 2025-03-04 21:32:26 +0000 | |
| commit | 842c71c65810b1577c1150456eeadb5c11c69aee (patch) | |
| tree | e875f53f19ebcc87d757a276ba0787d3bab1747a /libs/androidfw/StringPool.cpp | |
| parent | 4839d2958e624684a317345ab3d3e0f0cc435a90 (diff) | |
[36/N] Desks: Activate desk of launching task if inactive
Activates the desk of the launching / moving-to-front task instead of
activating the default desk is none are active. This ensures that
unminimizing a task from an inactive desk reactivates that desk.
This change also moved the order in which desks transitions are
processed, moving it to FreeformTasksTransitionObserver to guarantee
desk-level activation changes happen before DesktopTaskChangeListener
attempts to move freeform tasks into the current active desk.
Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 391485148
Bug: 393978427
Bug: 390692038
Test: open a couple of freeform apps in desk#1, minimize one, then:
1) Create and active desk#2 via adb commands
2) Unminimize the task from the taskbar
3) Verify desk#1 was reactivated with the unminimized task
4) Dump DesktopRepository state and check tasks are under desk#1 and
desk#1 is the active desk.
Change-Id: I3de82638c551857882ee48f9353cb3ec13b970f1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions