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

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

Merge "Fix BLAST Surface release"

parents 6e67cfc2 3e5f001d
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -1744,13 +1744,10 @@ public final class ViewRootImpl implements ViewParent,
        mSurface.release();
        mSurfaceControl.release();

        if (mBlastBufferQueue != null) {
            mTransaction.remove(mBlastSurfaceControl).apply();
            mBlastSurfaceControl = null;
        mBlastSurfaceControl.release();
        // We should probably add an explicit dispose.
        mBlastBufferQueue = null;
    }
    }

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