Snap for 8637088 from 4d60bff648b1e7e2cffa02602f5d9c00ce5816a4 to tm-release

Change-Id: Ied78174a1736a4c7772cf51eb3edd7cffdc9a5e3
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 17d9fe7..abbae52 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1508,7 +1508,8 @@
                 if (mIsVideoCaptureIntent) {
                     // if no file save is needed, we can show the post capture UI now
                     showCaptureResult();
-                } else {
+                }
+                if (mVideoFileDescriptor != null) {
                     saveVideo();
                 }
             }