summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-12-21 11:08:32 -0800
committerMichael Bestas <mikeioannina@gmail.com>2015-09-17 23:26:01 +0300
commit56a2f2a36a0f809dd277aa14ec75ca37e6f033db (patch)
treedb4bf7ffb10059b4259f65b930b75c59f5e0e432
parentec002ce982ff39ff1a527cae246f55a4828ef1d7 (diff)
downloadandroid_packages_apps_Snap-56a2f2a36a0f809dd277aa14ec75ca37e6f033db.zip
android_packages_apps_Snap-56a2f2a36a0f809dd277aa14ec75ca37e6f033db.tar.gz
android_packages_apps_Snap-56a2f2a36a0f809dd277aa14ec75ca37e6f033db.tar.bz2
camera: Remove ICS hack to stop preview after takePicture
Change-Id: Idcecfc6399421bd5dc25dcf79548949cdd14621f
-rw-r--r--src/com/android/camera/PhotoModule.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java
index c7aeac7..89dd346 100644
--- a/src/com/android/camera/PhotoModule.java
+++ b/src/com/android/camera/PhotoModule.java
@@ -2592,12 +2592,6 @@ public class PhotoModule
}
mErrorCallback.setActivity(mActivity);
mCameraDevice.setErrorCallback(mErrorCallback);
- // ICS camera frameworks has a bug. Face detection state is not cleared 1589
- // after taking a picture. Stop the preview to work around it. The bug
- // was fixed in JB.
- if (mCameraState != PREVIEW_STOPPED && mCameraState != INIT) {
- stopPreview();
- }
if (mFocusManager == null) initializeFocusManager();