summaryrefslogtreecommitdiff
path: root/omapi/java
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2025-02-06 15:11:00 +0000
committer Jorge Gil <jorgegil@google.com> 2025-02-14 01:32:35 +0000
commitc6e124f46ab9b3a8958c12a0364cac61dc556aed (patch)
tree6ba55adfa319f5638651f11512667be42299be82 /omapi/java
parent5dc10c1f0982048dadd5490c63c9cebf8c925870 (diff)
[15/N] Desks: Deactivate desk when last window is minimized
When the last task is minimized, the desk is now deactivated to prevent future app launches from launching in freeform. A small refactor is made to move the deactivation and transition tracking to a utility method. Note: minimization is not yet migrated to multi-desks, so while the desk is now deactivated, the minimized task remains visible because it is only being sent to the back of its desk container, which effectively keeps it in place since there's no home/wallpaper inside the desk. Flag: com.android.window.flags.enable_multiple_desktops_backend Bug: 391485148 Bug: 394268248 Test: open fullscreen app, enter desktop, minimize it 1) DesktopRepository dump shows activeDeskId=null 2) Home launches Change-Id: I25eb436595732cf6831f2a64f067cd771e337153
Diffstat (limited to 'omapi/java')
0 files changed, 0 insertions, 0 deletions