commit | 6e8b16b1e470f0aad75e60b6af61f5229718dff7 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Tue May 23 15:02:05 2023 -0700 |
committer | Emilian Peev <epeev@google.com> | Tue May 23 15:02:05 2023 -0700 |
tree | a5a36c561146e22938f1887b4646efd76c31ac43 | |
parent | 182ebdc61e6dd1197c831e7adf27d6135910ea48 [diff] |
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