summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-07-17 12:45:07 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-07-17 21:24:05 -0700
commitbe0d99a0a9028e7d5222056fc477def3b523a4e0 (patch)
tree7296c9c1cfc732a1888a62d874b3dd01c2d05c89 /libs/androidfw/StringPool.cpp
parentc32f9542f400809fd0575c55a660c8413077cff1 (diff)
Use appBounds for source bounds if provided
App bounds should be used when calculating the adjusted source-rect-hint when app doesn't provide their own, as overlays attached take up the full app bounds despite the display cutouts present. The app bounds are also used for adjusted source rect hint calculation on the Launcher side, so this helps avoid a mismatch in crops. Bug: 352773027 Flag: EXEMPT bugfix Test: swipe PiP to home from Maps with fixed rotation (90 and 270) Change-Id: Ie7259136a1c65ebc0085292fa4a5f9b46b5ec2a7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions