From e335860d0e456a8182bee3aa67c52d1395b6f563 Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Wed, 21 Sep 2011 13:55:42 -0700 Subject: Disallow video snapshot while using effects in recording. Bug: 5350124 Change-Id: I515f7982072987e888408f8d667a6a8cd422104b --- src/com/android/camera/VideoCamera.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com') 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; } -- cgit v1.1