From 1fb8ac4e3e03f31e6e099776d1026b9cadf57610 Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Fri, 5 Jun 2009 17:32:54 +0800 Subject: Revert the workaround for the buggy driver. The original change is d55a5e92d6065bd36a60925221d8cc9a773572eb. --- src/com/android/camera/VideoCamera.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/com') 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; } -- cgit v1.1