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

Commit 4969fecf authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Fix possible NPE when a ViewRoot doesn't have a view"

parents 735760e3 70d4c5a0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2805,7 +2805,9 @@ public final class ViewRootImpl implements ViewParent,

        setAccessibilityFocus(null, null);

        if (mView != null) {
            mView.assignParent(null);
        }
        mView = null;
        mAttachInfo.mRootView = null;
        mAttachInfo.mSurface = null;