+35
−9
+13
−7
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
PiP acknowledges the minWidth and minHeight app sets on their Activity.
When those dimensions are too large though, the PiP window would exceed
the display bounds.
Given PiP permits such override to allow a even smaller PiP size, we
address the issue by
- Ignore minWidth and minHeight if any one of them is larger than the
default size
- Skip the check on WM core side when setting the bounds, if it's a
pinned Task
Flag: EXEMPT bugfix
Bug: 394769616
Test: atest WMShellUnitTests:PipBoundsStateTest \
WMShellUnitTests:PipTaskOrganizerTest \
WMShellUnitTests:PipBoundsAlgorithmTest
Test: manual test with PoC app
Change-Id: I48e3b97851553fac0344d11644cc6722e3690336