| commit | e260520abeea94db3412130f570495e52981af25 | [log] [tgz] |
|---|---|---|
| author | Shuzhen Wang <shuzhenwang@google.com> | Thu May 04 13:22:56 2023 -0700 |
| committer | Shuzhen Wang <shuzhenwang@google.com> | Wed May 10 20:49:31 2023 +0000 |
| tree | 53d64dffc32105b645b9e8c2e189e4c6555e871e | |
| parent | 71cece32e6a0f97bd17d93799eb1fe85e43fa9d8 [diff] |
Camera: VTS: initialize camera statuses after callback registration For BasicCameraLifeCycleTest, callback registration returns the initial camera statuses. Need to update the cameraId->status map accordingly. In addition, fix the camera availability check by comparing against PRESENT, and all other states are considered unavailable/not-present. Test: atest VtsAidlCameraServiceTargetTest; vendor testing Bug: 281777503 Change-Id: I4a76a3d54a5a94b99d628424264d6ffed65f8cbf