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

Commit f425ca97 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Fix display list issue that was crashing an external app."

parents 52edaa9c 6e6db618
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2824,6 +2824,13 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager

        if (hasDisplayList) {
            displayList = child.getDisplayList();
            if (!displayList.isValid()) {
                // Uncommon, but possible. If a view is removed from the hierarchy during the call
                // to getDisplayList(), the display list will be marked invalid and we should not
                // try to use it again.
                displayList = null;
                hasDisplayList = false;
            }
        }

        if (hasNoCache) {