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
Merged-In: I9b679f5e0276cfcae7a93b8c80b4847f3291c1e4
1 file changed