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

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

am 7486bc1f: Merge "Fix an edge case in computing click location in...

am 7486bc1f: Merge "Fix an edge case in computing click location in accessibility mode." into lmp-mr1-dev

* commit '7486bc1f':
  Fix an edge case in computing click location in accessibility mode.
parents dcd42f0f 7486bc1f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -825,6 +825,12 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
            return false;
        }

        // Clip the bounds by our bounds.
        bounds.left = Math.max(bounds.left, 0);
        bounds.top = Math.max(bounds.top, 0);
        bounds.right = Math.min(bounds.right, mRight);
        bounds.bottom = Math.min(bounds.bottom, mBottom);

        Iterator<View> iterator = obtainOrderedChildIterator();
        while (iterator.hasNext()) {
            View sibling = iterator.next();