Skip to content
Commit d35999a9 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Make the PipManager remember custom aspect ratios

Currently, the PipManager always reverts any pip window to the
preconfigured default size and position after any movement (e.g. pip
menu dismissal, or keyboard dismissal).

This does not take into account that a specific aspect ratio might have
been set in the PictureInPictureParams.

This change leverages the already correct calculation from the
PipBoundsHandler to update the default and current pip bounds kept by
the PipManager.

Bug: 163787014
Test: atest CtsSystemUiTestCases:BasicPipTests
Change-Id: I74829d95bc3ef06e6962020d5a56998128ec3640
parent f8a142cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment