summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/PhotoModule.java
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-12-03 18:33:47 +0530
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-02-20 13:48:36 -0800
commit2a9565943325791a3a10462e70e9f027b7bec50c (patch)
tree897545f89b9e993711233d3a11e0489914e70339 /src/com/android/camera/PhotoModule.java
parent28c3ed1b3e7770358359fba023848caa4200884b (diff)
downloadandroid_packages_apps_Snap-2a9565943325791a3a10462e70e9f027b7bec50c.tar.gz
android_packages_apps_Snap-2a9565943325791a3a10462e70e9f027b7bec50c.tar.bz2
android_packages_apps_Snap-2a9565943325791a3a10462e70e9f027b7bec50c.zip
camera: Keep touch focus intact during back-to-back ZSL shots
* If ZSL is enabled, we should not resetTouchFocus between shots. * Instead, re-kick the timer for each shot. If I set a focus point, I want that point to stick while I take a succession of shots. Change-Id: I407bb1e248cc902355d0294f47b071cc8a32fac3
Diffstat (limited to 'src/com/android/camera/PhotoModule.java')
-rw-r--r--src/com/android/camera/PhotoModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java
index 36fde8b06..4890d7455 100644
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -1255,9 +1255,9 @@ public class PhotoModule
mCameraDevice.cancelAutoFocus();
}
} else if (((mCameraState != LONGSHOT) && (mReceivedSnapNum == mBurstSnapNum))
- || isLongshotDone()){
+ || isLongshotDone()) {
mUI.enableShutter(true);
- mFocusManager.resetTouchFocus();
+ mFocusManager.restartTouchFocusTimer();
if (CameraUtil.FOCUS_MODE_CONTINUOUS_PICTURE.equals(mFocusManager.getFocusMode(false))
|| CameraUtil.FOCUS_MODE_MW_CONTINUOUS_PICTURE.equals(mFocusManager.getFocusMode(false))) {
mCameraDevice.cancelAutoFocus();