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

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

am e130d6c1: Merge "Remove a bad heuristic when determining click location for...

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

* commit 'e130d6c1':
  Remove a bad heuristic when determining click location for accessibility.
parents a2bd0e55 e130d6c1
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);