summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Oleg Blinnikov <olb@google.com> 2023-02-14 11:14:06 +0000
committer Oleg Blinnikov <olb@google.com> 2023-02-14 16:49:40 +0000
commit9e23ff5cde35b8f452cedf3350289da18b197ef8 (patch)
treee0137ae3a00d759d360bd4d30ec03d7cd3e363af /libs/androidfw/ApkParsing.cpp
parentc573766a07a96908833e29502b62a1910aa227b6 (diff)
Do not scale Letterbox Inner bounds
getLetterboxInnerBounds is assumed to return unscaled bounds, just like getLetterboxOuterBounds. This CL fixes this behaviour in getLetterboxInnerBounds by applying scaling only in getCropBoundsIfNeeded, and never in adjustBoundsForTaskbar. Bug: 269030028 Test: atest SizeCompatTests Change-Id: I697e246bedced19009af24d0b7e81fc3d8f9a48c
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions