From 919cf6dc52a82c2807bfd7db9f8d23a82e67c164 Mon Sep 17 00:00:00 2001 From: kaiyiz Date: Mon, 10 Nov 2014 15:01:31 +0800 Subject: 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 --- src/com/android/camera/VideoModule.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com/android/camera/VideoModule.java') 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(); -- cgit v1.2.3