summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Qinchen Gu <guqinchen@google.com> 2024-09-24 11:11:45 +0800
committer Qinchen Gu <guqinchen@google.com> 2024-10-18 21:29:46 -0700
commit213dd25ea8c14ce16a32dc9eb6581a9bc2ea09d1 (patch)
treeb23b8fb87c4142eb800c3a63c6f343810d962123 /libs/androidfw/ZipFileRO.cpp
parent88d3e14f3034424e477023a6167efb1227f15b83 (diff)
Set view bounds in parent by diff'ing the bounds in screen with parent.
The getBoundsInParent() has been deprecated, the getBoundsInScreen() is the recommended alternative for this. The Jetpack compose only sets the boundary via setBoundsInScreen() (given it's the new API), thus the getBoundsInParent() is always returning 0. Literally the bounding boxes of the AssistStructure are broken with Jetpack compose. Now update the code to use the recommended alternatives. Flag: android.view.flags.calculate_bounds_in_parent_from_bounds_in_screen Bug: 366131857 Test: atest CtsAutoFillServiceTestCases dump Assist Structure view hierarchy and check for bounds. Change-Id: I78717c5d2faff06b9303adcfd8af1c8eeddf11fe
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions