diff options
author | likaid <likaid@codeaurora.org> | 2015-08-26 10:24:05 +0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-03 15:44:39 -0700 |
commit | 20a0405136a2d3fffe555ce4d07430170f08e301 (patch) | |
tree | f1f2193ff46c529a82eb3e0ab4fdb9a1adc7eef7 /src/com/android | |
parent | 322b414c1957a3c8761569873de3a1d3af1a9cd9 (diff) | |
download | android_packages_apps_Snap-20a0405136a2d3fffe555ce4d07430170f08e301.tar.gz android_packages_apps_Snap-20a0405136a2d3fffe555ce4d07430170f08e301.tar.bz2 android_packages_apps_Snap-20a0405136a2d3fffe555ce4d07430170f08e301.zip |
SnapdragonCamera: Fix not able to view other pictures when macro mode
In Macro+ mode, it always started the refocus editor view when clicked
the preview thumbnail, that caused user could not view other pictures.
Reset the flag mLastPhotoTakenWithRefocus to false when onResume,start
the refocus editor only one time after take a picture with macro+ mode.
Change-Id: I07772772be0e6227b87c4f58c900a6c024cd2fdc
CRs-Fixed: 896098
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/camera/PhotoModule.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index bfa90c51c..0d699c2b4 100644 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -2317,6 +2317,7 @@ public class PhotoModule @Override public void onResumeAfterSuper() { + mLastPhotoTakenWithRefocus = false; // Add delay on resume from lock screen only, in order to to speed up // the onResume --> onPause --> onResume cycle from lock screen. // Don't do always because letting go of thread can cause delay. |