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

Commit db3aa6be authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 04bea090: am 0224d25d: Merge "Account for window bounds in accessibility...

am 04bea090: am 0224d25d: Merge "Account for window bounds in accessibility view click point computation" into lmp-mr1-dev

* commit '04bea090':
  Account for window bounds in accessibility view click point computation
parents 4a3dc665 04bea090
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5901,6 +5901,12 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                region.op(interactiveRegion, Region.Op.INTERSECT);
            }
            // Take into account the window bounds.
            final View root = getRootView();
            if (root != null) {
                region.op(dx, dy, root.getWidth() + dx, root.getHeight() + dy, Region.Op.INTERSECT);
            }
            // If the view is completely covered, done.
            if (region.isEmpty()) {
                return false;