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.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index e200de1bd..75d3f221d 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -96,7 +96,7 @@ public class VideoModule implements CameraModule,
private static final int SCREEN_DELAY = 2 * 60 * 1000;
- private static final long SHUTTER_BUTTON_TIMEOUT = 500L; // 500ms
+ private static final long SHUTTER_BUTTON_TIMEOUT = 0L; // 0ms
/**
* An unpublished intent flag requesting to start recording straight away
@@ -688,12 +688,13 @@ public class VideoModule implements CameraModule,
if (isRecorderReady() == false)
return;
+ mUI.enableShutter(false);
+
if (stop) {
onStopVideoRecording();
} else {
startVideoRecording();
}
- mUI.enableShutter(false);
// Keep the shutter button disabled when in video capture intent
// mode and recording is stopped. It'll be re-enabled when