diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-08-23 02:01:38 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-23 02:01:38 -0700 |
commit | 5e4949c34eb558f13869d2c9a641d06a8366fe55 (patch) | |
tree | 2bab6ce09deab2a4c4592e8ca854a107cd12a17a | |
parent | cc3238fae72d6579288e0cdc03c7d09539ebb734 (diff) | |
parent | 71d5570605d517a271f40c749cb8123d5f2c3059 (diff) | |
download | LegacyCamera-5e4949c34eb558f13869d2c9a641d06a8366fe55.zip LegacyCamera-5e4949c34eb558f13869d2c9a641d06a8366fe55.tar.gz LegacyCamera-5e4949c34eb558f13869d2c9a641d06a8366fe55.tar.bz2 |
Merge "Start face detection every time after starting preview."
-rw-r--r-- | src/com/android/camera/Camera.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java index 1cd10eb..d54f09c 100644 --- a/src/com/android/camera/Camera.java +++ b/src/com/android/camera/Camera.java @@ -419,7 +419,6 @@ public class Camera extends ActivityBase implements View.OnClickListener, installIntentFilter(); initializeFocusTone(); initializeZoom(); - startFaceDetection(); // Show the tap to focus toast if this is the first start. if (mFocusAreaSupported && mPreferences.getBoolean(CameraSettings.KEY_TAP_TO_FOCUS_PROMPT_SHOWN, true)) { @@ -476,7 +475,6 @@ public class Camera extends ActivityBase implements View.OnClickListener, installIntentFilter(); initializeFocusTone(); initializeZoom(); - startFaceDetection(); keepMediaProviderInstance(); checkStorage(); @@ -1901,6 +1899,8 @@ public class Camera extends ActivityBase implements View.OnClickListener, closeCamera(); throw new RuntimeException("startPreview failed", ex); } + + startFaceDetection(); mZoomState = ZOOM_STOPPED; mCameraState = IDLE; } |