diff options
author | Dheeraj CVR <cvr.dheeraj@gmail.com> | 2014-06-23 22:00:07 +0530 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2018-01-26 01:07:55 +0100 |
commit | 46dc5bd9f1530e8ca0e820037ffa30e3d1c99d15 (patch) | |
tree | 4c65b656c0f80d6c239521b546189bec0b8dad5c | |
parent | e42261150fbf2f0c807d7b9f6d0b1901d4118fee (diff) | |
download | android_packages_apps_Snap-46dc5bd9f1530e8ca0e820037ffa30e3d1c99d15.tar.gz android_packages_apps_Snap-46dc5bd9f1530e8ca0e820037ffa30e3d1c99d15.tar.bz2 android_packages_apps_Snap-46dc5bd9f1530e8ca0e820037ffa30e3d1c99d15.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 02dc3adb0..81c7291a1 100644 --- a/src/com/android/camera/VideoModule.java +++ b/src/com/android/camera/VideoModule.java @@ -601,7 +601,6 @@ public class VideoModule implements CameraModule, @Override public void cancelAutoFocus() { if (null != mCameraDevice) { - mCameraDevice.cancelAutoFocus(); setFocusParameters(); } } |