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
Loading
Please register or sign in to comment