OSDN Git Service

Pass the camera to recorders after all is set.
authorAngus Kong <shkong@google.com>
Thu, 18 Apr 2013 22:57:08 +0000 (15:57 -0700)
committerAngus Kong <shkong@google.com>
Thu, 18 Apr 2013 23:00:23 +0000 (16:00 -0700)
bug:8049369
Change-Id: I5cd658e78905a7b41f97ee0cce820f0c8bc99dd5

src/com/android/camera/VideoModule.java

index d4be225..7ebc0e8 100644 (file)
@@ -1490,6 +1490,7 @@ public class VideoModule implements CameraModule,
             return;
         }
 
+        if (!mActivity.mCameraDevice.waitDone()) return;
         mCurrentVideoUri = null;
         if (effectsActive()) {
             initializeEffectsRecording();