am 3ee4d02c: am 176b1955: Merge "Ignore not visible views computing click point for accessibility." into lmp-dev

* commit '3ee4d02c65180204874389f6eca809bcb83d296d':
  Ignore not visible  views computing click point for accessibility.
This commit is contained in:
Svetoslav
2014-09-24 15:44:58 +00:00
committed by Android Git Automerger

View File

@@ -836,6 +836,11 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
break;
}
// Ignore invisible views as they are not interactive.
if (sibling.getVisibility() != View.VISIBLE) {
continue;
}
// If sibling is not interactive we do not care.
if (!sibling.isClickable() && !sibling.isLongClickable()) {
continue;