summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Charles Chen <charlesccchen@google.com> 2024-10-30 20:40:47 +0800
committer Charles Chen <charlesccchen@google.com> 2024-10-31 09:40:08 +0000
commit530d85c05f17c5421c61c1cab49f4ce4efef48f5 (patch)
tree6d5cd2dd8448adc402a9d9cfbd3be278b4dcb653 /libs/androidfw/ObbFile.cpp
parent7ab5693e5f86be6bd6585de9a420d1ff46e4edd0 (diff)
Check parent frame instead of window bounds
In Task#calculateTopActivityMainWindowFrameForTaskInfo, we previously regard an activity as a match-parent activity by comparing the window frame to window bounds. It could be wrong if the window frame excludes the inset. This CL changes to compare with parent frame, which use the same logic to exclude the insets area. Test: none Bug: 356277166 Flag: com.android.window.flags.better_support_non_match_parent_activity Change-Id: I42c371783f421e1603b18fed283ccc231a03ad0d
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions