From 047b7d3d3033e7e05195cf545454a0191db135a0 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar H E Date: Mon, 1 Sep 2014 12:31:11 +0530 Subject: 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 --- src/com/android/camera/PhotoModule.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/com') 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(); -- cgit v1.2.3