Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7132a5b4 authored by Svet Ganov's avatar Svet Ganov Committed by Android Git Automerger
Browse files

am a3bc48c8: am e39fc96c: Merge "Ignore accessibility overlay when computing...

am a3bc48c8: am e39fc96c: Merge "Ignore accessibility overlay when computing window\'s interactive region." into lmp-mr1-dev automerge: a706c907

* commit 'a3bc48c8':
  Ignore accessibility overlay when computing window's interactive region.
parents 12a44ca6 a3bc48c8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3421,7 +3421,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                return false;
            }

            // Windows are ordered in z order so start from the botton and find
            // Windows are ordered in z order so start from the bottom and find
            // the window of interest. After that all windows that cover it should
            // be subtracted from the resulting region. Note that for accessibility
            // we are returning only interactive windows.
@@ -3439,7 +3439,8 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                        windowInteractiveRegion = outRegion;
                        continue;
                    }
                } else {
                } else if (currentWindow.getType()
                        != AccessibilityWindowInfo.TYPE_ACCESSIBILITY_OVERLAY) {
                    Rect currentWindowBounds = mTempRect;
                    currentWindow.getBoundsInScreen(currentWindowBounds);
                    if (windowInteractiveRegion.op(currentWindowBounds, Region.Op.DIFFERENCE)) {