summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-06-11 18:24:01 -0700
committerDoris Liu <tianliu@google.com>2013-06-12 13:18:02 -0700
commitb81204ad0ccd2f16805b0fd5277be73fc6e8d31f (patch)
tree3657092a26257b63472c9359c0aa122bac18d043 /src/com
parent5791e2fbe36756806339182fcde4ce058ec1d203 (diff)
downloadandroid_packages_apps_Snap-b81204ad0ccd2f16805b0fd5277be73fc6e8d31f.tar.gz
android_packages_apps_Snap-b81204ad0ccd2f16805b0fd5277be73fc6e8d31f.tar.bz2
android_packages_apps_Snap-b81204ad0ccd2f16805b0fd5277be73fc6e8d31f.zip
In carlesbad, fix image capture on S4
Bug: 9390020 Change-Id: I9d7e0609c55f47a267aff8499dcd244dfb2fdb3a
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/NewPhotoModule.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/NewPhotoModule.java b/src/com/android/camera/NewPhotoModule.java
index cd3281476..4796359ce 100644
--- a/src/com/android/camera/NewPhotoModule.java
+++ b/src/com/android/camera/NewPhotoModule.java
@@ -754,6 +754,10 @@ public class NewPhotoModule
if (mPaused) {
return;
}
+ //TODO: We should show the picture taken rather than frozen preview here
+ if (mIsImageCaptureIntent) {
+ stopPreview();
+ }
if (mSceneMode == Util.SCENE_MODE_HDR) {
mUI.showSwitcher();
mUI.setSwipingEnabled(true);