diff options
| author | 2024-03-05 16:37:04 -0800 | |
|---|---|---|
| committer | 2024-03-08 18:43:48 +0000 | |
| commit | 62fa1350ebcd3fc0769fa6766b8752e6efad39f6 (patch) | |
| tree | cc1d9382b1c6b300b8a71b4ad8d704345fc99171 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 27b1613624f042e7b3df564811b7fd53a67224f0 (diff) | |
Fallback to default aspect ratio if not provided
This is to fix the regression introduced by ag/26340832. When apps like
YT provide empty aspect ratio via PictureInPictureParams, the zero value
would be used to calculate the min / max allowed size and causes the PiP
window to be resized unexpectedly.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/frCUwuTnpvVPMqFs3C5Gnk
Bug: 328051931
Test: manual, follow the reproduce steps, see video
Change-Id: Icab07e634cbd3c19668640203b586f10219c0410
(cherry picked from commit 63c0f02a731151d7b5ec6ea3a1a1466f0774cc32)
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions