diff options
| author | 2022-08-24 16:29:00 +0000 | |
|---|---|---|
| committer | 2022-08-24 16:29:00 +0000 | |
| commit | 632f529b255e2190de02a49b9b94e2d13f3e56d2 (patch) | |
| tree | 4e67f3fffeaa1ed7e26b0eabc0746e2efdbbdc78 | |
| parent | eb5d45e57403b6111dca7ab6b2d7bff5c4c0127a (diff) | |
| parent | 1bacc931cb4bca368350692c813344778fe57eb8 (diff) | |
Merge "Revert "Replace region intersection change from quickReject to use Region#op""
| -rw-r--r-- | services/core/java/com/android/server/wm/AccessibilityController.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/wm/AccessibilityController.java b/services/core/java/com/android/server/wm/AccessibilityController.java index 4153ea5cb936..c04b19558770 100644 --- a/services/core/java/com/android/server/wm/AccessibilityController.java +++ b/services/core/java/com/android/server/wm/AccessibilityController.java @@ -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; } |