summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorxianming wang <mingwax@codeaurora.org>2017-12-26 17:26:22 +0800
committerxianming wang <mingwax@codeaurora.org>2017-12-26 17:29:04 +0800
commitf50aaaf0b60d172f766b593d3830659826a4103b (patch)
tree85717e08e4742d32ba0889c2d12d1c9f3989ed6d /src
parentdba67f45c84998842a628ece013bc127d5f80b04 (diff)
downloadandroid_packages_apps_Snap-f50aaaf0b60d172f766b593d3830659826a4103b.tar.gz
android_packages_apps_Snap-f50aaaf0b60d172f766b593d3830659826a4103b.tar.bz2
android_packages_apps_Snap-f50aaaf0b60d172f766b593d3830659826a4103b.zip
SnapdragonCamera: Set AE/AF Region after create capture request
Apply the AF/AE Region after create capture request, avoid the issue which touch ROI reset during snapshot. CRs-Fixed: 2163900 Change-Id: I9796ac940b700b0028d575dafb61552cb561e0b5
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/camera/CaptureModule.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 1b0b519b1..402afd70a 100755
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -1549,6 +1549,8 @@ public class CaptureModule implements CameraModule, PhotoController,
}
applySettingsForJpegInformation(captureBuilder, id);
+ applyAFRegions(captureBuilder, id);
+ applyAERegions(captureBuilder, id);
if (!mIsSupportedQcfa) {
addPreviewSurface(captureBuilder, null, id);
}