summaryrefslogtreecommitdiffstats
path: root/services/camera
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-10-08 23:58:02 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-10 13:03:04 -0700
commit55f6c9dfd713776e251655b3ddd496b17df0926e (patch)
treec4f8a83ea8be65e5805eebe7bc6ba5780e58ca82 /services/camera
parentc03792041b9dd6f7f54abd6c82bd6c755a336cd8 (diff)
downloadframeworks_av-55f6c9dfd713776e251655b3ddd496b17df0926e.zip
frameworks_av-55f6c9dfd713776e251655b3ddd496b17df0926e.tar.gz
frameworks_av-55f6c9dfd713776e251655b3ddd496b17df0926e.tar.bz2
Camera2: Do not set auto-white-balance regions from metering regions.
Per API documentation, metering regions are only for AE, not also for AWB. Bug: 7312720 Change-Id: I39bcf33e4c81e80022f45e8fca77ea6cf9ba115e
Diffstat (limited to 'services/camera')
-rw-r--r--services/camera/libcameraservice/camera2/Parameters.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/camera/libcameraservice/camera2/Parameters.cpp b/services/camera/libcameraservice/camera2/Parameters.cpp
index 05494d3..3c679da 100644
--- a/services/camera/libcameraservice/camera2/Parameters.cpp
+++ b/services/camera/libcameraservice/camera2/Parameters.cpp
@@ -1739,9 +1739,6 @@ status_t Parameters::updateRequest(CameraMetadata *request) const {
reqMeteringAreas, reqMeteringAreasSize);
if (res != OK) return res;
- res = request->update(ANDROID_CONTROL_AWB_REGIONS,
- reqMeteringAreas, reqMeteringAreasSize);
- if (res != OK) return res;
delete[] reqMeteringAreas;
/* don't include jpeg thumbnail size - it's valid for