Merge "Replace region intersection change from quickReject to use Region#op"

This commit is contained in:
Nergi Rahardi
2022-08-24 01:58:10 +00:00
committed by Android (Google) Code Review

View File

@@ -1655,7 +1655,8 @@ final class AccessibilityController {
}
// If the window is completely covered by other windows - ignore.
if (unaccountedSpace.quickReject(regionInScreen)) {
Region intersectionWindow = mTempRegion1;
if (!intersectionWindow.op(unaccountedSpace, regionInScreen, Region.Op.INTERSECT)) {
return false;
}