summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-09 07:19:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-09 07:19:00 +0000
commit3bca9d7805c495b6d8155516dde1f5408ba39b61 (patch)
tree9112b066bad626d74f2b9879ac8247ec9fdd7e06
parent616cf312e5d8f40548c9282515283c7479ba5d5c (diff)
parent683bdac642bc8e7322c71aede4c8880301f8da86 (diff)
downloadCamera2-aml_cbr_331411000.tar.gz
Change-Id: I56f3ebf4d5e682a71f03a47274bf552dbf45ecc2
-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();
}
}