summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-05-14 11:31:19 -0700
committerDoris Liu <tianliu@google.com>2013-05-14 11:35:24 -0700
commit6f14590d1ac6d6984fa0db4af668bc897628a6f3 (patch)
treecc72b3a79083a80d0febacb2245663f19bb4a551
parent25d69c11831fabf8f4e474aaf17b05dd001979ce (diff)
downloadandroid_packages_apps_Gallery2-6f14590d1ac6d6984fa0db4af668bc897628a6f3.tar.gz
android_packages_apps_Gallery2-6f14590d1ac6d6984fa0db4af668bc897628a6f3.tar.bz2
android_packages_apps_Gallery2-6f14590d1ac6d6984fa0db4af668bc897628a6f3.zip
Pause face detection when review captured images
Bug: 8799508 Change-Id: I994299a3ad406bcee5e6699265cb0ab29612e62c
-rw-r--r--src/com/android/camera/PhotoUI.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java
index 3a2c6ecfd..a364d797e 100644
--- a/src/com/android/camera/PhotoUI.java
+++ b/src/com/android/camera/PhotoUI.java
@@ -458,6 +458,7 @@ public class PhotoUI implements PieListener,
Util.fadeIn(mReviewDoneButton);
mShutterButton.setVisibility(View.INVISIBLE);
Util.fadeIn(mReviewRetakeButton);
+ pauseFaceDetection();
}
protected void hidePostCaptureAlert() {
@@ -466,6 +467,7 @@ public class PhotoUI implements PieListener,
Util.fadeOut(mReviewDoneButton);
mShutterButton.setVisibility(View.VISIBLE);
Util.fadeOut(mReviewRetakeButton);
+ resumeFaceDetection();
}
public void setDisplayOrientation(int orientation) {