Merge "Replace region intersection change from quickReject to use Region#op"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7652884d87
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user