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

Commit 2584fae4 authored by mattsziklay's avatar mattsziklay Committed by Matt Sziklay
Browse files

[1/N] Reparent desks on display disconnect.

When a display containing a desk is disconnected, start a transition to reparent the desk to
the display area of its destination display. TaskDisplayArea will set the
desk root task to top if it was on top of the focused display or bottom if not.

On a destination display that supports desks, ensure the reparented desk is activated if it was on top of the focused display. Otherwise, move it to the display below
whatever is currently active. Whichever desk moves to the bottom will
then be deactivated.

Bug: 391652399
Test: Manual
Flag: com.android.window.flags.enable_display_disconnect_interaction
Change-Id: I6ec4b9d305a6bd9497450328dad36bc53179ee7c
parent 56172bf3
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