mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
The reason for this problem is: local variables are used when saving PhysicalCameraCharacteristics. When its life cycle ends, physChars will be released. Since Entry uses a pointer, data will be null. So physChars should be defined outside else to ensure that physChars is not released during use Bug: 248221707 Test: VtsHalCameraProviderV2_4TargetTest Test: VtsAidlHalCameraProvider_TargetTest Signed-off-by: kongchenrui <kongchenrui@xiaomi.com> Change-Id: I4c05e695d255f210f310f8ce78ec2fa71a42cee9
Camera HALs
Overview:
The camera.* HAL tree is used by the Android camera service to discover and operate camera devices available on the device.
More details and versioning information can be found within each particular HAL.
More complete information about the Android camera HAL and subsystem can be found at source.android.com.