summaryrefslogtreecommitdiffstats
path: root/modules/camera
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2014-01-23 18:26:28 -0800
committerRuben Brunk <rubenbrunk@google.com>2014-02-03 17:40:43 -0800
commit80df5b529fd6b3cfaccfb2e97e5ebdaf989771ea (patch)
tree1b2616733acf27c08da632c508b1fb4c2bcd729c /modules/camera
parent0ab48411fe6498dded9f3fe4cefe82ce629e1972 (diff)
downloadhardware_libhardware-80df5b529fd6b3cfaccfb2e97e5ebdaf989771ea.zip
hardware_libhardware-80df5b529fd6b3cfaccfb2e97e5ebdaf989771ea.tar.gz
hardware_libhardware-80df5b529fd6b3cfaccfb2e97e5ebdaf989771ea.tar.bz2
camera3: Update maxRegions tag.
Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01
Diffstat (limited to 'modules/camera')
-rw-r--r--modules/camera/ExampleCamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/camera/ExampleCamera.cpp b/modules/camera/ExampleCamera.cpp
index 16e1e02..a275190 100644
--- a/modules/camera/ExampleCamera.cpp
+++ b/modules/camera/ExampleCamera.cpp
@@ -62,7 +62,7 @@ camera_metadata_t *ExampleCamera::initStaticInfo()
ARRAY_SIZE(android_control_ae_compensation_step),
android_control_ae_compensation_step);
- int32_t android_control_max_regions[] = {1};
+ int32_t android_control_max_regions[] = {/*AE*/ 1,/*AWB*/ 1,/*AF*/ 1};
m.addInt32(ANDROID_CONTROL_MAX_REGIONS,
ARRAY_SIZE(android_control_max_regions),
android_control_max_regions);