summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-11-10 15:01:31 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2014-11-12 18:37:49 -0800
commit919cf6dc52a82c2807bfd7db9f8d23a82e67c164 (patch)
tree5824669dc088e3be710976e79a498130b70db2b0
parentef15ff9d0bef9f73a4631495232eb58305f556a4 (diff)
downloadandroid_packages_apps_Snap-919cf6dc52a82c2807bfd7db9f8d23a82e67c164.tar.gz
android_packages_apps_Snap-919cf6dc52a82c2807bfd7db9f8d23a82e67c164.tar.bz2
android_packages_apps_Snap-919cf6dc52a82c2807bfd7db9f8d23a82e67c164.zip
SnapdragonCamera: Fix shutter button is disable after stop record video
The shutter button is disable before take a snapshot, and shutter button will be enable when called onPictureTaken, but enable shutter code will not be run when onPictureTaken is called after stopVideoRecording and sometimes onPictureTaken still not called. Enable shutter button when stopVideoRecording. CRs-Fixed: 703000 Change-Id: I4e7e2d17cfee33c7b91091f5c47ae85718054912
-rwxr-xr-xsrc/com/android/camera/VideoModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 34ce64388..594a5dfa8 100755
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1759,6 +1759,7 @@ public class VideoModule implements CameraModule,
//because cameraservice will disable picture related messages. Hence reset the
//flag here so that we can take liveshots in the next recording session.
mSnapshotInProgress = false;
+ showVideoSnapshotUI(false);
mOrientationManager.unlockOrientation();