diff options
-rw-r--r-- | src/com/android/camera/FocusOverlayManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/camera/FocusOverlayManager.java b/src/com/android/camera/FocusOverlayManager.java index 401480d02..5fcc8e9be 100644 --- a/src/com/android/camera/FocusOverlayManager.java +++ b/src/com/android/camera/FocusOverlayManager.java @@ -268,6 +268,9 @@ public class FocusOverlayManager { // sound. if (focused) { mState = STATE_SUCCESS; + // Lock exposure and white balance + setAeAwbLock(true); + mListener.setFocusParameters(); } else { mState = STATE_FAIL; } @@ -278,6 +281,9 @@ public class FocusOverlayManager { // take the picture now. if (focused) { mState = STATE_SUCCESS; + // Lock exposure and white balance + setAeAwbLock(true); + mListener.setFocusParameters(); } else { mState = STATE_FAIL; } @@ -426,6 +432,7 @@ public class FocusOverlayManager { // Otherwise, focus mode stays at auto and the tap area passed to the // driver is not reset. resetTouchFocus(); + setAeAwbLock(false); mListener.cancelAutoFocus(); mState = STATE_IDLE; mHandler.removeMessages(RESET_TOUCH_FOCUS); |