summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Hiroki Sato <hirokisato@google.com> 2024-02-15 19:00:04 +0900
committer Hiroki Sato <hirokisato@google.com> 2024-03-18 09:32:27 +0000
commitb3aaef9ff5c004720f4f94da6137db6677106a01 (patch)
tree56921a00bc9dd95918ecea5194b99e83d4668cad /libs/androidfw/ObbFile.cpp
parent317827fec39359a467dd2beae8f86a0deb7875a1 (diff)
Use Region#op instead of #quickReject for intersection check
quickReject only checks the minimum bounding box of the regions, which may give us false negative as suggested in Region's javadoc. This leads a bug where a window is still added to the exposed list even if it is fully covered by other windows. This is an updated version of the reverted CL [1] behind a computeWindowChangesOnA11y flag. Previously [1] was reverted due to CTS failure, but now that with [2] the CTS won't fail. [1] I7fc226e2288c2433e427d1e8ef173a3a21a20edc [2] Id4b24284db40feaa744c9a5598d0067566fa3963 Bug: 240885392 Bug: 254581919 Test: android.autofillservice.cts.servicebehavior.SettingsIntentTest Test: android.autofillservice.cts.inline.InlineTooltipTest Test: CtsAccessibilityServiceTestCases CtsAccessibilityTestCases AccessibilityWindowManagerWithAccessibilityWindowTest Change-Id: Ie2d1714c91a0f1d8f73f837505365899c314c038
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions