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

Commit 3d08de15 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix segfault in ViewRootImpl on BLAST"

parents f85843e6 f0a24dd2
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1699,7 +1699,9 @@ public final class ViewRootImpl implements ViewParent,
        if (mSurfaceControl == null || !mSurfaceControl.isValid()) {
            return null;
        }
        if ((mBlastBufferQueue != null) && mBlastSurfaceControl.isValid()) {
        if ((mBlastSurfaceControl != null)
                && (mBlastBufferQueue == null)
                && mBlastSurfaceControl.isValid()) {
            mBlastBufferQueue = new BLASTBufferQueue(
                mBlastSurfaceControl, width, height);
        }