summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera
diff options
context:
space:
mode:
authorSanthosh Kumar Thimmanna Bhattar <sthim@codeaurora.org>2014-11-26 18:54:36 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2014-12-23 22:09:00 -0800
commit5db17e3c4fdca6e15da32b5a3e888be63ff89ea8 (patch)
treebc9be3ee554c4bd57a3117c4ad730233ab9472d8 /src/com/android/camera
parent5c3a14e425dabf710b58c87c44a368469cbb5baf (diff)
downloadandroid_packages_apps_Snap-5db17e3c4fdca6e15da32b5a3e888be63ff89ea8.tar.gz
android_packages_apps_Snap-5db17e3c4fdca6e15da32b5a3e888be63ff89ea8.tar.bz2
android_packages_apps_Snap-5db17e3c4fdca6e15da32b5a3e888be63ff89ea8.zip
SnapdragonCamera: Enable video recording pause/resume from application
- Video recording pause/resume feature is not working as it is disabled by commenting out the pause/resume function call from snapdragon camera application. - Fix is to enable the pause/resume function call from application Change-Id: If75ab41000d0c62259a46135246fafe3398f5fd9
Diffstat (limited to 'src/com/android/camera')
-rw-r--r--src/com/android/camera/VideoModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index ae429dd2d..1bd395188 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1727,7 +1727,7 @@ public class VideoModule implements CameraModule,
Log.v(TAG, "pauseVideoRecording");
mMediaRecorderPausing = true;
mRecordingTotalTime += SystemClock.uptimeMillis() - mRecordingStartTime;
- //mMediaRecorder.pause();
+ mMediaRecorder.pause();
}
private void resumeVideoRecording() {
@@ -1735,7 +1735,7 @@ public class VideoModule implements CameraModule,
mMediaRecorderPausing = false;
mRecordingStartTime = SystemClock.uptimeMillis();
updateRecordingTime();
- //mMediaRecorder.start();
+ mMediaRecorder.start();
}
private boolean stopVideoRecording() {