summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);