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

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

Merge "Prevent crash in View when gathering attributes without an AttachInfo....

Merge "Prevent crash in View when gathering attributes without an AttachInfo. Bug #3385339" into honeycomb
parents c927ec50 6e81e57b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -893,7 +893,7 @@ public final class ViewRoot extends Handler implements ViewParent,
            }
        }

        if (attachInfo.mRecomputeGlobalAttributes) {
        if (attachInfo.mRecomputeGlobalAttributes && host.mAttachInfo != null) {
            //Log.i(TAG, "Computing view hierarchy attributes!");
            attachInfo.mRecomputeGlobalAttributes = false;
            boolean oldScreenOn = attachInfo.mKeepScreenOn;