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

Commit 224ab6ca authored by Vania Desmonda's avatar Vania Desmonda
Browse files

Restrict PiP bounds to the display's min/max PiP size upon display transfer.

Since we're keeping the global dp size of the pip bounds constant while
moving pip across displays, it might be too big or small on the other
display. If this happens, snap the size to the allowed min/max size.

Fixes: 433285732
Test: atest PipDisplayTransferHandlerTest
Flag: com.android.window.flags.enable_dragging_pip_across_displays
Change-Id: I64771406a3c15bb6b4f4aa8a92d7be7e55a42567
parent 843a6f8d
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