summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2023-07-25 15:01:56 +0900
committer Seigo Nonaka <nona@google.com> 2023-07-25 15:01:56 +0900
commit0cc2228875914b94e43a9cf5892a17697522e875 (patch)
treef89a34a69f8d262f856fa974afdf64bb895a6c4d /libs/androidfw/ObbFile.cpp
parent4f300b1fe19d763bf6b796cf36ac34ddce83ea74 (diff)
Fix coordinate calculation on splitscreen
The mContentRectOnScreen is a global offset i.e. the coordinate is offset from the display origin. On the other hand, the mScreenRect always represents a left half of the display in case of horizontally splitted screen. So, need to convert the mScreenRect coordinate to the offset from the display origin. Bug: 291004451 Test: manually done Change-Id: I44bed2ee2988f3ce45cc49652946a2832e49ce04
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions