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

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

Merge "Ignore not visible views computing click point for accessibility." into lmp-dev

parents ed1ae8f8 e7482460
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -836,6 +836,11 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
                break;
                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 is not interactive we do not care.
            if (!sibling.isClickable() && !sibling.isLongClickable()) {
            if (!sibling.isClickable() && !sibling.isLongClickable()) {
                continue;
                continue;