commit | b8259798dc04226eb09114527cb124060fbf335b | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Thu May 27 09:27:06 2021 -0700 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Thu May 27 09:43:03 2021 -0700 |
tree | 24b5a88402c76ff09bea1b952b23e2f840d2cf92 | |
parent | 844ef1becccc13508ce9209ea358a9477d7cb29f [diff] |
Camera: remove the camera device version check during statusCallback Since HAL1 support has been removed, we don't need to check the device version in statusCallback any more. This has the good side effect of fixing a bug during hotplug camera removal. A hotplug camera may be removed from ProviderInfo::mDevices, and when getDeviceVersion() is called, the camera ID cannot be found. Test: Camera CTS Bug: 189460959 Change-Id: I9b679f5e0276cfcae7a93b8c80b4847f3291c1e4