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

Commit 9761e30c authored by Rob Carr's avatar Rob Carr Committed by Android (Google) Code Review
Browse files

Merge "ViewRootImpl: Explicitly release BLASTBufferQueue"

parents cc2dbc45 8e26a28f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1890,9 +1890,11 @@ public final class ViewRootImpl implements ViewParent,
        mSurface.release();
        mSurfaceControl.release();

        // We should probably add an explicit dispose.
        if (mBlastBufferQueue != null) {
            mBlastBufferQueue.destroy();
            mBlastBufferQueue = null;
        }
    }

    /**
     * Block the input events during an Activity Transition. The KEYCODE_BACK event is allowed