diff options
author | Doris Liu <tianliu@google.com> | 2013-09-11 17:38:08 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2013-09-11 17:42:09 -0700 |
commit | 36e56fba281292255a01ee00b4bee067fa09ab59 (patch) | |
tree | 0bc586061ce7e31ff434e5d80ba304c5834b3130 /src/com/android/camera/PhotoModule.java | |
parent | 7b265a6b2f55c6ae7afc30e63ba324c4084a5d8e (diff) | |
download | android_packages_apps_Snap-36e56fba281292255a01ee00b4bee067fa09ab59.tar.gz android_packages_apps_Snap-36e56fba281292255a01ee00b4bee067fa09ab59.tar.bz2 android_packages_apps_Snap-36e56fba281292255a01ee00b4bee067fa09ab59.zip |
Show captured image rather than frozen preview for capture intent
Bug: 10570887
Change-Id: Ie986c865bdf452973b833efcdcb397c27bef2420
Diffstat (limited to 'src/com/android/camera/PhotoModule.java')
-rw-r--r-- | src/com/android/camera/PhotoModule.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index 789446dcd..d00da1935 100644 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -722,11 +722,11 @@ public class PhotoModule } } + ExifInterface exif = Exif.getExif(jpegData); + int orientation = Exif.getOrientation(exif); if (!mIsImageCaptureIntent) { // Calculate the width and the height of the jpeg. Size s = mParameters.getPictureSize(); - ExifInterface exif = Exif.getExif(jpegData); - int orientation = Exif.getOrientation(exif); int width, height; if ((mJpegRotation + orientation) % 180 == 0) { width = s.width; @@ -761,7 +761,7 @@ public class PhotoModule } else { mJpegImageData = jpegData; if (!mQuickCapture) { - mUI.showPostCaptureAlert(); + mUI.showCapturedImageForReview(jpegData, orientation, mMirror); } else { onCaptureDone(); } |