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

Commit 31a95862 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixed null pointer exception" into main am: 355524bd

parents a11b31ee 355524bd
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);
            }