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

Commit 355524bd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fixed null pointer exception" into main

parents 7fe439c6 b24e21cb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4490,6 +4490,11 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        final View[] children = mChildren;
        for (int i = 0; i < count; i++) {
            final View child = children[i];
            if (child == null) {
                throw new IllegalStateException(getClass().getSimpleName() + " contains null " +
                        "child at index " + i + " when traversal in dispatchGetDisplayList," +
                        " the view may have been removed.");
            }
            if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null)) {
                recreateChildDisplayList(child);
            }