diff options
author | Chih-Chung Chang <chihchung@google.com> | 2009-06-05 17:32:54 +0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2009-06-09 13:51:58 +0800 |
commit | 1fb8ac4e3e03f31e6e099776d1026b9cadf57610 (patch) | |
tree | efd36268229f6bcf4e0a5dab699777f8581be167 /src | |
parent | 317fe84be91efd6789caba48d31a53320fbaa99d (diff) | |
download | LegacyCamera-1fb8ac4e3e03f31e6e099776d1026b9cadf57610.zip LegacyCamera-1fb8ac4e3e03f31e6e099776d1026b9cadf57610.tar.gz LegacyCamera-1fb8ac4e3e03f31e6e099776d1026b9cadf57610.tar.bz2 |
Revert the workaround for the buggy driver.
The original change is d55a5e92d6065bd36a60925221d8cc9a773572eb.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 7 |
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; } |