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

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

View File

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