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

Commit 762621ce authored by Svetoslav's avatar Svetoslav
Browse files

Don't add real children for a view with a node provider

Change-Id: I1dd43fa5ff93e8eb76e2c7587fb13cd1ef097678
parent 5f79d828
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1913,6 +1913,9 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager

    @Override
    public void addChildrenForAccessibility(ArrayList<View> childrenForAccessibility) {
        if (getAccessibilityNodeProvider() != null) {
            return;
        }
        ChildListForAccessibility children = ChildListForAccessibility.obtain(this, true);
        try {
            final int childrenCount = children.getChildCount();