Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5dc10c1f authored by Jorge Gil's avatar Jorge Gil
Browse files

[14/N] Desks: Deactivate desk when last window is closed

When the last task closes, the desk is now deactivated to prevent future
app launches from launching in freeform.

Also fixes:
-One log that had desk/task ids inverted
-A missing early return when moving a running task to front, which was
 also producing an incorrect log

Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 394268248
Test: open fullscren app, enter desktop, close the window using X button
  1) Verify window closes
  2) Home launches
  3) DesktopRepository dump shows
    A) activeDeskId=null
    B) closed window no longer inside the desk
  4) Launching a new window from taskbar launches fullscreen, not
     freeform in a tablet
Change-Id: I2b51e3abbea8650397000657c734049418607b97
parent 88568848
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment