summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/VideoCamera.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java
index e3143d0..547c4b5 100644
--- a/src/com/android/camera/VideoCamera.java
+++ b/src/com/android/camera/VideoCamera.java
@@ -484,12 +484,7 @@ public class VideoCamera extends Activity implements View.OnClickListener,
Log.v(TAG, "startPreview");
if (mPreviewing) {
- // We should just return here, but we stop and start again to avoid
- // the bug in driver.
- mCameraDevice.lock();
- mCameraDevice.stopPreview();
- mCameraDevice.startPreview();
- mCameraDevice.unlock();
+ // After recording a video, preview is not stopped. So just return.
return true;
}