diff options
author | Dheeraj CVR <cvr.dheeraj@gmail.com> | 2014-06-23 22:00:07 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-11-02 12:22:27 -0700 |
commit | 64f4613f78bb08bbae8c5be03f486b83825d8187 (patch) | |
tree | 307517b3b06f673f6b9339c6045faed2304896ba | |
parent | ace51a0737c62fe1c7e7f7e5f953c4c41f630538 (diff) | |
download | android_packages_apps_Snap-64f4613f78bb08bbae8c5be03f486b83825d8187.tar.gz android_packages_apps_Snap-64f4613f78bb08bbae8c5be03f486b83825d8187.tar.bz2 android_packages_apps_Snap-64f4613f78bb08bbae8c5be03f486b83825d8187.zip |
Camera2: Prevent propogating CancelAutoFocus during Video Recording
When AutoFocus is started during Video Recording, CancelAutoFocus
is called after KEY_FOCUS_TIME seconds. CancelAutoFocus has the
side effect of resetting the sensor AF position and will result in
instant loss of focus which is not a desired event when AF is
manually triggered in case of Video Recording.
Change-Id: Icee7f6dfd4ad083c9b383ee2a4df6a34e4668de6
-rw-r--r-- | src/com/android/camera/VideoModule.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index e443f7f0b..e74dcfdbf 100644 --- a/src/com/android/camera/VideoModule.java +++ b/src/com/android/camera/VideoModule.java @@ -593,7 +593,6 @@ public class VideoModule implements CameraModule, @Override public void cancelAutoFocus() { if (null != mCameraDevice) { - mCameraDevice.cancelAutoFocus(); setFocusParameters(); } } |