Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev am: 06802167e5
am: 102e9a7e3b
Change-Id: I2f2ebf1df3ba3a9f6e8a7daf654d118580a96a1d
This commit is contained in:
@@ -412,6 +412,9 @@ public class CameraCaptureSessionImpl extends CameraCaptureSession
|
||||
// If no sequences are pending, fire #onClosed immediately
|
||||
mSequenceDrainer.beginDrain();
|
||||
}
|
||||
if (mInput != null) {
|
||||
mInput.release();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user