diff options
author | Steve Kondik <steve@cyngn.com> | 2016-07-31 19:09:37 -0700 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 21:57:50 +0200 |
commit | e7333df6c03e0ca0577fa66a11956c7543e95bdc (patch) | |
tree | f9d0466e59dca56b137a06f1ec9cca3da5330aee /src | |
parent | 2ef80bcfd5ba4476d94b46b7acd247582b4325a8 (diff) | |
download | android_packages_apps_Snap-e7333df6c03e0ca0577fa66a11956c7543e95bdc.tar.gz android_packages_apps_Snap-e7333df6c03e0ca0577fa66a11956c7543e95bdc.tar.bz2 android_packages_apps_Snap-e7333df6c03e0ca0577fa66a11956c7543e95bdc.zip |
snap: Always turn touch-af-aec on
* Most cameras do this by default, but on at least one device
it starts with the option disabled. This stops AEC from
updating during touch focus.
Change-Id: I4bdb6cdbad86f3798c0288d6a32b7e8062e297f3
Diffstat (limited to 'src')
-rwxr-xr-x | src/com/android/camera/PhotoModule.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index 816fd3a39..c75d1fd12 100755 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -3197,6 +3197,12 @@ public class PhotoModule Log.e(TAG, "Handled NULL pointer Exception"); } + // Set Touch AF/AEC parameter. + if (CameraUtil.isSupported(mParameters.TOUCH_AF_AEC_ON, + mParameters.getSupportedTouchAfAec())) { + mParameters.setTouchAfAec(mParameters.TOUCH_AF_AEC_ON); + } + // Set Picture Format // Picture Formats specified in UI should be consistent with // PIXEL_FORMAT_JPEG and PIXEL_FORMAT_RAW constants |