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

Skip to content
Commit 79a8e2be authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Update the PiP ActivityRecord with new PiP params

We need to take into account PictureInPictureParams potentially
sent to us from the client through enterPictureInPictureMode()
directly in PiP2 as well. (along with setPictureInPictureParams)

This issue has been causing some of the enter PiP CTS test cases
that were passing in custom aspect ratios.

Bug: 359652602
Flag: com.android.wm.shell.enable_pip2_implementation
Test: atest PinnedStackTests#testEnterPipAspectRatioMax
Test: atest PinnedStackTests#testEnterPipAspectRatioMin
Test: atest PinnedStackTests#testSetPipExtremeAspectRatioMax
Test: atest PinnedStackTests#testSetPipExtremeAspectRatioMin
Test: atest PinnedStackTests#testResizePipAspectRatioMax
Test: atest PinnedStackTests#testResizePipAspectRatioMin
Change-Id: I0cd5fcc45022471c0c964dbdc77beff567cde806
parent ddbbcaed
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