From 3ed8852a5d3f2bf69d099148653a49553e5c34e3 Mon Sep 17 00:00:00 2001 From: junjiez Date: Tue, 26 Jul 2016 11:17:45 +0800 Subject: SnapdragonCamera: Fix face circle disappears for few frames When auto focus is moving, Faceview.clear() will be called and the face circle will disappear, so if the information of faces is still existed,we don't call Faceview.clear(). Change-Id: I67be2627b493edcbc329146eb816a15bddecab23 CRs-Fixed: 1040876 --- src/com/android/camera/PhotoUI.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/com/android/camera') diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java index 7c715d9fd..bc3e43a6a 100644 --- a/src/com/android/camera/PhotoUI.java +++ b/src/com/android/camera/PhotoUI.java @@ -1285,7 +1285,10 @@ public class PhotoUI implements PieListener, @Override public void clearFocus() { - FocusIndicator indicator = getFocusIndicator(); + FocusIndicator indicator = mPieRenderer; + if (hasFaces()) { + mFaceView.showStart(); + } if (indicator != null) indicator.clear(); } -- cgit v1.2.3