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

Commit ffb80357 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "ViewRootImpl: More null checks for performTraversals." into...

Merge "Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev am: 6f87503e am: c52b16c9" into oc-dr1-dev-plus-aosp
parents fcee629a 37110b09
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2476,6 +2476,9 @@ public final class ViewRootImpl implements ViewParent,
        mInLayout = true;

        final View host = mView;
        if (host == null) {
            return;
        }
        if (DEBUG_ORIENTATION || DEBUG_LAYOUT) {
            Log.v(mTag, "Laying out " + host + " to (" +
                    host.getMeasuredWidth() + ", " + host.getMeasuredHeight() + ")");
@@ -2783,6 +2786,8 @@ public final class ViewRootImpl implements ViewParent,
    private void performDraw() {
        if (mAttachInfo.mDisplayState == Display.STATE_OFF && !mReportNextDraw) {
            return;
        } else if (mView == null) {
            return;
        }

        final boolean fullRedrawNeeded = mFullRedrawNeeded;