summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDheeraj CVR <cvr.dheeraj@gmail.com>2014-06-23 16:30:07 (GMT)
committerMichael Bestas <mikeioannina@gmail.com>2015-09-20 17:02:05 (GMT)
commit0575f19cf85fc06a070dd1ec15d952126e76d96c (patch)
tree4f4cee9fb67a646de0c060d3de91b83bb5b6897f
parent63a86a9acad9564605b147662e37cf8cc8958a9d (diff)
downloadandroid_packages_apps_Snap-0575f19cf85fc06a070dd1ec15d952126e76d96c.zip
android_packages_apps_Snap-0575f19cf85fc06a070dd1ec15d952126e76d96c.tar.gz
android_packages_apps_Snap-0575f19cf85fc06a070dd1ec15d952126e76d96c.tar.bz2
Camera2: Prevent propogating CancelAutoFocus during Video Recordingcm-12.1
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.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 7a34ada..cfca4d6 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -514,7 +514,6 @@ public class VideoModule implements CameraModule,
@Override
public void cancelAutoFocus() {
if (null != mCameraDevice) {
- mCameraDevice.cancelAutoFocus();
setFocusParameters();
}
}