Merge change 3410 into donut
* changes:
Move storeImage to worker thread so we can start preview in parallel.
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 @@
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;
}