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

Commit 84bfcc1b authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Merge "ViewRootImpl: Guard against null in performMeasure" into oc-dev am: 4bc839e2

am: fc945bf6

Change-Id: Idde7f1b8382468723bbb7678e1d10f9ead3cbe1e
parents fcb0407c fc945bf6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2401,6 +2401,9 @@ public final class ViewRootImpl implements ViewParent,
    }

    private void performMeasure(int childWidthMeasureSpec, int childHeightMeasureSpec) {
        if (mView == null) {
            return;
        }
        Trace.traceBegin(Trace.TRACE_TAG_VIEW, "measure");
        try {
            mView.measure(childWidthMeasureSpec, childHeightMeasureSpec);