summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/CaptureModule.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java
index 26613786f..1122d6703 100644
--- a/src/com/android/camera/CaptureModule.java
+++ b/src/com/android/camera/CaptureModule.java
@@ -2331,6 +2331,9 @@ public class CaptureModule implements CameraModule, PhotoController,
setProModeVisible();
String scene = mSettingsManager.getValue(SettingsManager.KEY_SCENE_MODE);
+ if (Integer.parseInt(scene) != SettingsManager.SCENE_MODE_UBIFOCUS_INT) {
+ setRefocusLastTaken(false);
+ }
if(isPanoSetting(scene)) {
if (mIntentMode != CaptureModule.INTENT_MODE_NORMAL) {
mSettingsManager.setValue(
@@ -4321,6 +4324,7 @@ public class CaptureModule implements CameraModule, PhotoController,
onPauseAfterSuper();
onResumeBeforeSuper();
onResumeAfterSuper();
+ setRefocusLastTaken(false);
}
public void restartSession(boolean isSurfaceChanged) {