diff options
author | zhuw <zhuw@codeaurora.org> | 2018-10-17 14:48:08 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-11-01 19:46:28 -0700 |
commit | 8e52de424b448f4c145c1ead8a06d5e4b6603bf3 (patch) | |
tree | 40747606871699b3146d06a07d870b9beee82d4b /src | |
parent | 979df1fa205e4d5909f21780fb89eabe4a454d99 (diff) | |
download | android_packages_apps_Snap-8e52de424b448f4c145c1ead8a06d5e4b6603bf3.tar.gz android_packages_apps_Snap-8e52de424b448f4c145c1ead8a06d5e4b6603bf3.tar.bz2 android_packages_apps_Snap-8e52de424b448f4c145c1ead8a06d5e4b6603bf3.zip |
Avoid changing afmode when trigger TAF
fix afmode to auto when trigger TAF
Change-Id: I23def159f4255950e2a4c3f1a401fe19700e87df
CRs-Fixed:2332444
Diffstat (limited to 'src')
-rwxr-xr-x | src/com/android/camera/CaptureModule.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index d3ff8c81a..591926738 100755 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -2061,6 +2061,7 @@ public class CaptureModule implements CameraModule, PhotoController, mControlAFMode = CaptureRequest.CONTROL_AF_MODE_AUTO; applySettingsForAutoFocus(builder, id); + builder.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_AUTO); mState[id] = STATE_WAITING_TOUCH_FOCUS; applyFlash(builder, id);//apply flash mode and AEmode for this temp builder mCaptureSession[id].capture(builder.build(), mCaptureCallback, mCameraHandler); |