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

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

am 2b013731: Merge "Use bounds in screen for better A11y backwards compatibility" into lmp-dev

* commit '2b01373190177badaa06a8a72cf8b3a856ac235a':
  Use bounds in screen for better A11y backwards compatibility
parents 288265c5 22d8a776
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -15110,7 +15110,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        final AccessibilityNodeInfo virtualView = viewRoot.getAccessibilityFocusedVirtualView();
        if (virtualView != null) {
            virtualView.getBoundsInParent(bounds);
            virtualView.getBoundsInScreen(bounds);
            final int[] offset = mAttachInfo.mTmpLocation;
            getLocationOnScreen(offset);
            bounds.offset(-offset[0], -offset[1]);
        } else {
            bounds.set(0, 0, mRight - mLeft, mBottom - mTop);
        }