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

Commit e130d6c1 authored by Svet Ganov's avatar Svet Ganov Committed by Android (Google) Code Review
Browse files

Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev

parents 02aca27f 257ffbda
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5942,8 +5942,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @hide
     */
    public void addClickableRectsForAccessibility(List<RectF> outRects) {
        if (isClickable() || isLongClickable()
                || (mListenerInfo != null && mListenerInfo.mOnTouchListener != null)) {
        if (isClickable() || isLongClickable()) {
            RectF bounds = new RectF();
            bounds.set(0, 0, getWidth(), getHeight());
            outRects.add(bounds);