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

Commit 75d0d92f authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Fixed Autofill NPE that crashed some apps." into oc-dev

parents eb936703 6219f269
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7431,6 +7431,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            AccessibilityNodeInfo info = createAccessibilityNodeInfo();
            structure.setChildCount(1);
            ViewStructure root = structure.newChild(0);
            if (forAutofill) {
                setAutofillId(root);
            }
            populateVirtualStructure(root, provider, info, forAutofill);
            info.recycle();
        }