platform_hardware_libhardware/modules/camera
Jacopo Mondi 2ecebbf8ff Camera: Fix Metadata static info intialization
The Metadata module segfaults when asked to initialize camera_info, upon
camera description request coming from framework.
This was caused by missing intialization of mData instance field.
Additionally, when intializing it with a template metadata, the
validation function return value was wrongly tested

Patchset 2: Do not init mData but let function flow take care of
replacing it after adding new data to it fails.

Change-Id: Iae228f0d66171ed3eac430186ced4d9b023f8de8
Signed-off-by: Jacopo Mondi <jacopo.mondi@linaro.org>
2015-11-17 09:46:40 +01:00
..
Android.mk am 8ded7780: am 3da0d0f4: am 662e97ee: am aea8c156: Merge "hardware/libhardware: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH" 2014-01-28 01:08:45 +00:00
Camera.cpp Switch libhardware to POSIX dprintf. 2014-05-22 11:12:12 -07:00
Camera.h camera3: Update vendor tag spec for HAL 3.2. 2014-01-16 18:27:08 -08:00
CameraHAL.cpp Camera: Add HAL module init method. 2015-04-15 17:26:13 -07:00
CameraHAL.h Fix build. Missing vendor tags header. 2014-01-17 14:48:19 -08:00
ExampleCamera.cpp Replace/rename old HAL graphics formats 2015-03-06 13:19:36 -08:00
ExampleCamera.h modules: camera: Metadata refactor 2013-10-28 14:40:28 -07:00
Metadata.cpp Camera: Fix Metadata static info intialization 2015-11-17 09:46:40 +01:00
Metadata.h modules: camera: Metadata refactor 2013-10-28 14:40:28 -07:00
Stream.cpp Replace/rename old HAL graphics formats 2015-03-06 13:19:36 -08:00
Stream.h modules: camera: replace pthread mutex with utils' 2013-11-12 18:32:51 -08:00
VendorTags.cpp Camera: HAL: 64-bit warning fixit. 2014-04-23 11:54:24 -07:00
VendorTags.h Camera: HAL: 64-bit warning fixit. 2014-04-23 11:54:24 -07:00