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

This reverts commit bff5c972ac.

Reason for revert: b/243640603

Change-Id: I5d25426ca0f777c8f4f2b86a6e81080dd05d4af1
This commit is contained in:
Nergi Rahardi
2022-08-24 11:31:23 +00:00
parent bff5c972ac
commit 1bacc931cb

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;
}