summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorSanthosh Kumar H E <skhara@codeaurora.org>2014-09-01 12:31:11 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2014-10-13 23:27:43 -0700
commit047b7d3d3033e7e05195cf545454a0191db135a0 (patch)
tree4ea1f856b2ce7a36baeaf1a4f29601e90b92845a /src/com
parentd7810337255f08f3c89e2fb02ca393fc2997ca8d (diff)
downloadandroid_packages_apps_Snap-047b7d3d3033e7e05195cf545454a0191db135a0.tar.gz
android_packages_apps_Snap-047b7d3d3033e7e05195cf545454a0191db135a0.tar.bz2
android_packages_apps_Snap-047b7d3d3033e7e05195cf545454a0191db135a0.zip
Restart face detection after caturing image in zsl mode.
When user does touch to focus face detection will restated after a delay. But if user initiate a take picture in between all the pending messages are cleared so face detection will not start automatically. This happens only in ZSL has preview will not be restarted. This change restarts the face detection if it is not started. CRs-Fixed: 712889 Change-Id: I5cda7a3c2e7c8352cf6d9e423ca06eb63f6d6265
Diffstat (limited to 'src/com')
-rwxr-xr-xsrc/com/android/camera/PhotoModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java
index eee1110b1..d3f838481 100755
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -1121,6 +1121,7 @@ public class PhotoModule
if (!mIsImageCaptureIntent) {
setCameraState(IDLE);
}
+ startFaceDetection();
}
if ((mRefocus) && (mReceivedSnapNum == 6)) {
Size s = mParameters.getPictureSize();