summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-10-14 12:52:27 -0700
committerEino-Ville Talvala <etalvala@google.com>2011-10-14 12:52:27 -0700
commitf3b7efa21a1f2b365655acd8efffbdc1b83e6b0c (patch)
tree94cae83ea4cae8626c77ed9405c5f6b1fd0ac71a /src/com/android
parent28512f6648f24c423eac3740bc0b7e13a60dc638 (diff)
downloadpackages_apps_LegacyCamera-f3b7efa21a1f2b365655acd8efffbdc1b83e6b0c.zip
packages_apps_LegacyCamera-f3b7efa21a1f2b365655acd8efffbdc1b83e6b0c.tar.gz
packages_apps_LegacyCamera-f3b7efa21a1f2b365655acd8efffbdc1b83e6b0c.tar.bz2
Disable AE/AWB locking when shutting down effects.
Bug: 5463413 Change-Id: Idcd338adc5835e5a211e977b22a090e9dd2dfe4a
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/camera/EffectsRecorder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/EffectsRecorder.java b/src/com/android/camera/EffectsRecorder.java
index 8f72a8b..3059281 100644
--- a/src/com/android/camera/EffectsRecorder.java
+++ b/src/com/android/camera/EffectsRecorder.java
@@ -707,6 +707,7 @@ public class EffectsRecorder {
} else if (mState != STATE_RELEASED) {
// Shutting down effects
if (mLogVerbose) Log.v(TAG, "Runner halted, restoring direct preview");
+ tryEnable3ALocks(false);
sendMessage(EFFECT_NONE, EFFECT_MSG_EFFECTS_STOPPED);
} else {
// STATE_RELEASED - camera will be/has been released as well, do nothing.