summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-06-12 15:22:19 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-06-13 04:12:28 +0000
commit0415fc059e14a31033999331f5878334e61ee6f5 (patch)
treedf3a788b234e256ecc503016d65350bbd0fcdd1c /libs/androidfw/StringPool.cpp
parentba726295f3d87ff5e039eecda9d06760be9bf307 (diff)
Check both parent and current windowing mode for legacy insets override
Currently, when animating between pip and fullscreen mode, the windowing mode will be: task=pinned activity=fullscreen. If the insets override only checks the mode from parent, the configuration will lose the override when the activity still shows as fullscreen appearance, which causes potential flickering. Especially if the display is close to square, if the insets area are excluded or included in configuration, it could even lead to orientation change that makes app uses different layout during the pip animation. Bug: 340035487 Test: adb shell am compat disable \ INSETS_DECOUPLED_CONFIGURATION_ENFORCED pkg.pip.app adb shell wm size 2200x2200 (make display be close to square) Enter/expand pip and check there is no extra configuration change when switching. Merged-In: Ifa5e2da4478f89f6a95d15103bb01b29242421e2 Change-Id: Ifa5e2da4478f89f6a95d15103bb01b29242421e2 (cherry picked from commit 79ea1505b1ae222416045436b6fb9f27f174034d)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions