diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2017-05-30 20:00:11 +0200 |
---|---|---|
committer | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2017-05-30 18:11:05 +0000 |
commit | c737df520a87207f83c864c2876685e190c1113e (patch) | |
tree | a9b3105edcc74a9c0e37ef6bdfbac7c2d2717c99 | |
parent | 09a7a0b4e347a08335c086a8de48e938e56d919c (diff) | |
download | android_packages_apps_Snap-c737df520a87207f83c864c2876685e190c1113e.tar.gz android_packages_apps_Snap-c737df520a87207f83c864c2876685e190c1113e.tar.bz2 android_packages_apps_Snap-c737df520a87207f83c864c2876685e190c1113e.zip |
Revert "Snap: CaptureModule: lock exposure also when precapture trigger is started"
This reverts commit 48f0e427c4d60f597235954d9bc910c5c8980dbe.
Change-Id: Ie77b36e1770b2ce8999e3d98fb2cf811f2764fd1
-rwxr-xr-x | src/com/android/camera/CaptureModule.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/camera/CaptureModule.java b/src/com/android/camera/CaptureModule.java index f56fe6f7a..7a9f67261 100755 --- a/src/com/android/camera/CaptureModule.java +++ b/src/com/android/camera/CaptureModule.java @@ -574,13 +574,10 @@ public class CaptureModule extends BaseModule<CaptureUI> implements PhotoControl Log.d(TAG, "STATE_WAITING_PRECAPTURE id: " + id + " afState: " + afState + " aeState:" + aeState); if (aeState == null || aeState == CaptureResult.CONTROL_AE_STATE_PRECAPTURE || - aeState == CaptureResult.CONTROL_AE_PRECAPTURE_TRIGGER_START || aeState == CaptureResult.CONTROL_AE_STATE_FLASH_REQUIRED || aeState == CaptureResult.CONTROL_AE_STATE_CONVERGED) { - if (mPrecaptureRequestHashCode[id] == result.getRequest().hashCode()) { - Log.d(TAG, "updateCaptureStateMachine: hashes are equal, lock exposure"); + if (mPrecaptureRequestHashCode[id] == result.getRequest().hashCode()) lockExposure(id); - } } break; } |