Camera: Defer device release
Instead of releasing the Camera3Device immediately after failures during 'startCameraOps', leave the valid instance and just return the respective error. The camera device will be released afterwards when the client connection gets disconnected. Bug: 281954120 Test: Manual using camera application Change-Id: If385ac51f1a79a6431844cbd3634400c84f24f32
Loading
Please register or sign in to comment