Camera: add HAL 3.4 declaration

Bug: 26070606
Change-Id: I4768da5564eee28e24f8d7393e0544222675d833
This commit is contained in:
Yin-Chia Yeh 2015-12-07 16:31:09 -08:00
parent ffc6c07b60
commit 3e0b5f65c6

View file

@ -147,10 +147,11 @@ __BEGIN_DECLS
#define CAMERA_DEVICE_API_VERSION_3_1 HARDWARE_DEVICE_API_VERSION(3, 1)
#define CAMERA_DEVICE_API_VERSION_3_2 HARDWARE_DEVICE_API_VERSION(3, 2)
#define CAMERA_DEVICE_API_VERSION_3_3 HARDWARE_DEVICE_API_VERSION(3, 3)
#define CAMERA_DEVICE_API_VERSION_3_4 HARDWARE_DEVICE_API_VERSION(3, 4)
// Device version 3.3 is current, older HAL camera device versions are not
// Device version 3.4 is current, older HAL camera device versions are not
// recommended for new devices.
#define CAMERA_DEVICE_API_VERSION_CURRENT CAMERA_DEVICE_API_VERSION_3_3
#define CAMERA_DEVICE_API_VERSION_CURRENT CAMERA_DEVICE_API_VERSION_3_4
/**
* Defined in /system/media/camera/include/system/camera_metadata.h