summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShuzhen Wang <shuzhenwang@google.com>2022-05-25 17:22:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-05-25 17:22:58 +0000
commitf399d4cdcbdab0446f631bc9832c0c51864207e4 (patch)
tree64b5982d13784630e957d423dcf5091db750bbcb /src
parent04ca072c3d34c02c59f7dc94623ead4687497281 (diff)
parentf34ccc19294c88e99b3adfcb85aa40f551e00116 (diff)
downloadCamera2-f399d4cdcbdab0446f631bc9832c0c51864207e4.tar.gz
Merge "Camera2: Invoke saveVideo when mVideoFileDescriptor != null"
Diffstat (limited to 'src')
-rwxr-xr-x[-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..100755
--- 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();
}
}