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

Skip to content
Commit 62fa1350 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

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 63c0f02a)
parent 27b16136
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