diff options
| author | 2022-09-07 14:16:11 +0800 | |
|---|---|---|
| committer | 2022-09-07 14:16:11 +0800 | |
| commit | 663b4062a526f241a42468df0d10cf0362e2f4a3 (patch) | |
| tree | 1a626d51b44723093c051236dd58ff94ddf2b280 /libs/androidfw/StringPool.cpp | |
| parent | d0208d9292d8e400cd3bbf145eaf2d08093c0474 (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/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions