summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-10-21 03:32:03 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-10-21 04:29:35 +0000
commit139a4479eeb437ccfc4d7b760b89e3e0b5096f65 (patch)
tree84040b2cbfba439aa334584b871f5d4e97729df3 /libs/androidfw/StringPool.cpp
parent2b1a1bcc2b4954dca2a96438ea29cd9527ba286f (diff)
Consider letterbox offset as size mismatch
If there is non zero letterbox offset, that means the activity window is not aligned with the task, then it still needs to undo the offset to snapshot. E.g. window position is (50,0), then the snapshot should be (-50,0) because task snapshot already contains the offset. Bug: 372482710 Flag: EXEMPT bugfix Test: Set config_highResTaskSnapshotScale to 1. Hot launch an activity with LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER. The snapshot buffer layer should align with app window. Change-Id: I47dba6148f0c1cd610b5003f7e6fc97ae5f7404b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions