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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user