summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/Camera.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 970d98e..2992e95 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -1415,7 +1415,7 @@ public class Camera extends ActivityBase implements FocusManager.Listener,
}
private void doFocus(boolean pressed) {
- if (mPausing || collapseCameraControls()) return;
+ if (mPausing || collapseCameraControls() || mCameraState == SNAPSHOT_IN_PROGRESS) return;
// Do not do focus if there is not enough storage.
if (pressed && !canTakePicture()) return;