From 3e0b5f65c678398b457f5d637231b10f39116d06 Mon Sep 17 00:00:00 2001 From: Yin-Chia Yeh Date: Mon, 7 Dec 2015 16:31:09 -0800 Subject: [PATCH] Camera: add HAL 3.4 declaration Bug: 26070606 Change-Id: I4768da5564eee28e24f8d7393e0544222675d833 --- include/hardware/camera_common.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/hardware/camera_common.h b/include/hardware/camera_common.h index 7658dd40..fe0e5cf9 100644 --- a/include/hardware/camera_common.h +++ b/include/hardware/camera_common.h @@ -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