summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-24 23:23:50 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-24 23:23:50 +0000
commit7b81661a5c5a0e36e90cc70447f633d8fe3fb4d4 (patch)
tree9112b066bad626d74f2b9879ac8247ec9fdd7e06
parent4a60390db6056143c66d748a58134f3922e1f9f6 (diff)
parent4d60bff648b1e7e2cffa02602f5d9c00ce5816a4 (diff)
downloadCamera2-android13-s1-release.tar.gz
Change-Id: Ied78174a1736a4c7772cf51eb3edd7cffdc9a5e3
-rw-r--r--src/com/android/camera/VideoModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 17d9fe747..abbae5265 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1508,7 +1508,8 @@ public class VideoModule extends CameraModule
if (mIsVideoCaptureIntent) {
// if no file save is needed, we can show the post capture UI now
showCaptureResult();
- } else {
+ }
+ if (mVideoFileDescriptor != null) {
saveVideo();
}
}