summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2022-09-07 14:16:11 +0800
committer Chris Li <lihongyu@google.com> 2022-09-07 14:16:11 +0800
commit663b4062a526f241a42468df0d10cf0362e2f4a3 (patch)
tree1a626d51b44723093c051236dd58ff94ddf2b280 /libs/hwui/FrameInfoVisualizer.cpp
parentd0208d9292d8e400cd3bbf145eaf2d08093c0474 (diff)
Fix finishTransaction window crop with requestedOverrideBounds
Before, when the requestOverrideBounds is not at (0, 0) when its parent is also not at (0, 0), the window crop will be different from the actual visible area. For example, when enter ActivityEmbedding split with system split. The requestedOverrideBounds is in screen coordinate, and the relative position offset is in parent coordinate, but the window crop should be in the current surface coordinate. Update it to always crop from (0, 0) Bug: 207070762 Test: manually verify with enter system split with AE split. Change-Id: I45dad68c93921ae0c7b5f0b46553014780a0c9b8
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions