summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2025-02-20 15:20:45 -0800
committer Hongwei Wang <hwwang@google.com> 2025-02-21 15:41:22 -0800
commit00557fbfb3dd5abe6ef0a24b5640117e051bb39c (patch)
treefc3ef8582ebe94437a63ab211fd56d4cc31c5905 /libs/androidfw/FileStream.cpp
parent9456c277e22d8310a5b9d1f34bca513809cb5322 (diff)
Ignore minWidth and minHeight for PiP if too large
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions