Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
06802167e5
@@ -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