summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2022-11-29 06:35:32 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2022-11-29 06:41:48 +0000
commit8d917f9e7eb6be1a44ac4741eed346dd657770b3 (patch)
tree75fc266c5a6457ea99e86eaf2eaa8097dd1a29c8 /libs/androidfw/ConfigDescription.cpp
parent9a47d7fad933878fb8a29b320f53d372c2864eff (diff)
Fix the regression of PiP position in fixed rotation
This also fixes issue with rotating on tablets where PiP might go out of bounds. What happens is sometimes the rotation of screen has not issued the callback yet and onInsetsChanged gets called causing regression and mixing up all calculations based on the configuration change that is being applied too early. Basically ordering issue of callbacks. Bug: 254869973 Test: manually, tried with logs statements that confirmed it works as expected regardless of the order in which the events callbacks are received Change-Id: Ie1ac5e94559643028229c7829b35905b175425d2
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions