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-12 15:22:19 +0800
commit79ea1505b1ae222416045436b6fb9f27f174034d (patch)
tree0c18bb8b85ebe5f4316fb7f9ef2bdb238ab79af0 /libs/androidfw/StringPool.cpp
parente3794b47f32536294c80317f001815331a0b9551 (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. Change-Id: Ifa5e2da4478f89f6a95d15103bb01b29242421e2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions