Loading
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