Merge "Performing click and long click for accessiblity not returning result." into jb-dev

This commit is contained in:
Svetoslav Ganov
2012-05-06 14:52:23 -07:00
committed by Android (Google) Code Review

View File

@@ -6453,12 +6453,12 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
switch (action) {
case AccessibilityNodeInfo.ACTION_CLICK: {
if (isClickable()) {
performClick();
return performClick();
}
} break;
case AccessibilityNodeInfo.ACTION_LONG_CLICK: {
if (isLongClickable()) {
performLongClick();
return performLongClick();
}
} break;
case AccessibilityNodeInfo.ACTION_FOCUS: {