platform_hardware_interfaces/camera/common
Jasmine Chen 682abf4039 Camera: Fix double-free in removeCamera
When a camera is removed, |hidlMetadata| takes over ownership of
|metadata|. Therefore, we should not free |metadata| again.

Bug: 180014486
Test: Remove an external camera, and no crashes were observed.
Change-Id: I85246067f8753911cbcb58af24a46f12962226f3
(cherry picked from commit f36a439e3a97315a9f0a8661ea77aff61fb79c82)
2021-02-26 17:23:38 +08:00
..
1.0 Camera: Fix double-free in removeCamera 2021-02-26 17:23:38 +08:00
README.md Camera: HIDLized camera HALs, first set 2016-12-02 19:43:39 +00:00

Camera common HAL definitions


Overview:

The camera.common namesapce is used by the Android camera HALs for common enumeration and structure definitions.

This includes standard status codes returned by most camera HAL methods.

More complete information about the Android camera HAL and subsystem can be found at source.android.com.

Version history:

types.hal:

@1.0:

Common enum and struct definitions for all camera HAL interfaces. Does not define any interfaces of its own.