summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Vali Calinescu <vcalinescu@google.com> 2023-03-17 18:26:26 +0000
committer Vali Calinescu <vcalinescu@google.com> 2023-03-17 18:42:47 +0000
commitec0f2c3b98cdf98ebc9f37cac4d956c926307430 (patch)
tree558a0238432d8e3a9aa06aee81ea43b5d027b18d /libs/androidfw/ApkParsing.cpp
parentbce91b77ef6c39bb2b76bb9666858885e7464080 (diff)
Use appBounds when computing split screen aspect ratio
When computing the split screen aspect ratio we were previously using the bounds of the display which did not take insets into account, so an activity that would be using this value would get letterboxed when in split screen because the aspect ratio restriction is applied for appBounds on the activity. Fix: 273513446 Test: atest WmTests:SizeCompatTests#testOverrideSplitScreenAspectRatio_splitScreenActivityInPortrait_notLetterboxed Test: atest WmTests:SizeCompatTests#testOverrideSplitScreenAspectRatio_splitScreenActivityInLandscape_notLetterboxed Change-Id: I996651124c16e855910efa3b315ea644adffd7c1
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions