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

Commit 24f4c591 authored by Ben Lin's avatar Ben Lin
Browse files

DragToDesktopTransitionHandler: Set DoNotPip on finishCallback.

When we are "cancelling" a drag-to-desktop by going to split instead,
because home is now on top, the dragged task is now sent to the back. If
the task can PIP, then Core will trigger respective lifecycle/visibility
checks and ends up putting it into PIP instead of enter-split state.

This sets a new WCT, and call #doNotPip on it, and send it as part of
the transition's finishCallback so the system has signal to not enter
the task into PiP in this case.

Bug: 406539545
Test: Manual. Have youtube, play video, drag to enter-split - it no
longer pips.
Flag: EXEMPT bugfix

Change-Id: I3a85f6eac62347c588d7f440edcfb04d5c699108
parent 35b9b241
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