commit | 3a6e45320685b36bb266bbf8fa548f4474d90d6c | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Fri Sep 28 15:30:03 2012 -0700 |
committer | Igor Murashkin <iam@google.com> | Fri Oct 05 13:32:07 2012 -0700 |
tree | cb47eafd11367f2b71c12c841ad715b7c4333e37 | |
parent | 63dc19921f2770f07bf976bb7573a1133d6548f9 [diff] [blame] |
Camera2: Fix metering regions to take into account the current zoom/crop region Also adds a quirk to disable this fix to work around for incompliant HALs Bug: 7246065 Change-Id: I80bad25e56ba59149270238e5639bb33cae495ae
diff --git a/services/camera/libcameraservice/Camera2Client.cpp b/services/camera/libcameraservice/Camera2Client.cpp index ed4567e..90cba46 100644 --- a/services/camera/libcameraservice/Camera2Client.cpp +++ b/services/camera/libcameraservice/Camera2Client.cpp
@@ -334,6 +334,10 @@ result.appendFormat(" useZslFormat\n"); haveQuirk = true; } + if (p.quirks.meteringCropRegion) { + result.appendFormat(" meteringCropRegion\n"); + haveQuirk = true; + } if (!haveQuirk) { result.appendFormat(" none\n"); }