Merge "Performing click and long click for accessiblity not returning result." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3f28a1b7eb
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user