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

Commit 102e9a7e authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by android-build-merger
Browse files

Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev

am: 06802167

Change-Id: Iedafc28d1a63b708b1992e4ef3570069c59d087a
parents 80454c2c 06802167
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -412,6 +412,9 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession
            // If no sequences are pending, fire #onClosed immediately
            mSequenceDrainer.beginDrain();
        }
        if (mInput != null) {
            mInput.release();
        }
    }

    /**