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

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

Merge "Return true on successful accessiblity action click/long click." into jb-mr1-dev

parents 840590dd 96985fcc
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -6886,12 +6886,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        switch (action) {
            case AccessibilityNodeInfo.ACTION_CLICK: {
                if (isClickable()) {
                    return performClick();
                    performClick();
                    return true;
                }
            } break;
            case AccessibilityNodeInfo.ACTION_LONG_CLICK: {
                if (isLongClickable()) {
                    return performLongClick();
                    performLongClick();
                    return true;
                }
            } break;
            case AccessibilityNodeInfo.ACTION_FOCUS: {