summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-rw-r--r--src/com/android/camera/VideoModule.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 8f57777f7..56ae96de0 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -833,8 +833,7 @@ public class VideoModule implements CameraModule,
// the preview. This will cause the preview flicker since the preview
// will not be continuous for a short period of time.
- mUI.animateFlash();
- mUI.animateCapture();
+ mUI.animateFlash(false);
}
}
mUI.showUIafterRecording();
@@ -2006,7 +2005,6 @@ public class VideoModule implements CameraModule,
private boolean startVideoRecording() {
Log.v(TAG, "startVideoRecording");
mStartRecPending = true;
- mUI.cancelAnimations();
mUI.setSwipingEnabled(false);
mUI.hideUIwhileRecording();
// When recording request is sent before starting preview, onPreviewFrame()
@@ -3107,8 +3105,7 @@ public class VideoModule implements CameraModule,
if (mParameters == null) return;
if (CameraUtil.isVideoSnapshotSupported(mParameters) && !mIsVideoCaptureIntent) {
if (enabled) {
- mUI.animateFlash();
- mUI.animateCapture();
+ mUI.animateFlash(true);
} else {
mUI.showPreviewBorder(enabled);
}