summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2025-02-20 20:22:22 +0000
committer Jorge Gil <jorgegil@google.com> 2025-02-25 03:38:31 +0000
commit49596cca87175e297c2a5b6ad235ba43e86ae03d (patch)
tree964c1290a3fa6e4bd7a122dbb31b995a15f6ef55 /ravenwood/scripts/extract-last-soong-commands.py
parent160e43beeb3e6ee9555b31f71c4012865448e8e5 (diff)
[24/N] Desks: Fix deactivation when more than one task is open
When the user is explicitly exiting desktop, such as when usign the to-fullscreen or to-split buttons, willExitDesktop should always return true regardless of whether the task moving is the last one or not, otherwise the exit "cleanup", which includes deactivation, won't be added to the WCT and will leave the desktop in a bad state. For multi-desks specifically, this meant that moving to fullscreen when you only have 1 task did deactivate the desk, but doing so when you had 2 tasks open did not. Flag: com.android.window.flags.enable_multiple_desktops_backend Bug: 394268248 Test: enter desktop, have at least two tasks open in the desktop, then move one to fullscreen and verify new task launches open in fullscreen and the repository dump shows the source desk as deactivated. Change-Id: I71e6cd5dd60b7b2c1aa5081ba8b17f4c1b9864f5
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions