commit | 08c0efb03a4e648e6a5fc5de13bc9678d384e106 | [log] [tgz] |
---|---|---|
author | Michelle Ho <himichelle@google.com> | Thu Jan 05 10:32:23 2023 +0000 |
committer | Michelle Ho <himichelle@google.com> | Wed Jan 11 08:23:39 2023 +0000 |
tree | f19f851a360f8da8a5076b96e76d06a6d8f9e6f7 | |
parent | bcccf96a0a2872a76946c3a3dfbc1eab90a3e22e [diff] |
Camera: Fix missing onPhysicalCameraUnavailable When onCameraAvailable invoked for a logical multi-camera, all of the physical cameras of a logical multi-camera are default available (i.e., no onPhysicalCameraAvailable would be called). So if some specific physical cameras are unavailable, onPhysicalCameraUnavailable should be invoked after onCameraAvailable. Bug: 262979670 Test: atest CameraManagerTest Change-Id: I6ee199ba30fa6f8c44c65d1e1d173fe6fd9ec3fe