summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-09-21 14:29:52 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-21 14:29:52 -0700
commit82d8d49ab1d0d303fc2e1c81e89389a81404895f (patch)
tree0b1c8f7d2398ddb9352c845a936912bcf15eb8dc
parenta369cd3153170975a5e5bd6fa5544dcd6f22ee85 (diff)
parente335860d0e456a8182bee3aa67c52d1395b6f563 (diff)
downloadLegacyCamera-82d8d49ab1d0d303fc2e1c81e89389a81404895f.zip
LegacyCamera-82d8d49ab1d0d303fc2e1c81e89389a81404895f.tar.gz
LegacyCamera-82d8d49ab1d0d303fc2e1c81e89389a81404895f.tar.bz2
Merge "Disallow video snapshot while using effects in recording." into ics-factoryrom
-rw-r--r--src/com/android/camera/VideoCamera.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index 39d3298..070363b 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -2183,7 +2183,8 @@ public class VideoCamera extends ActivityBase
// Preview area is touched. Take a picture.
@Override
public boolean onTouch(View v, MotionEvent e) {
- if (mPausing || mSnapshotInProgress || !mMediaRecorderRecording) {
+ if (mPausing || mSnapshotInProgress
+ || !mMediaRecorderRecording || effectsActive()) {
return false;
}