summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2017-02-08 20:22:26 +0100
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-11 01:31:23 +0000
commitc2d36954c583fb17a2bca5d30ee281cccb42e212 (patch)
tree3456e351c63378e6716a80492beb9f5f9b7cdd18
parent21b3a739d56523446277254bf7ff7aeda229503b (diff)
downloadandroid_packages_apps_Snap-c2d36954c583fb17a2bca5d30ee281cccb42e212.zip
android_packages_apps_Snap-c2d36954c583fb17a2bca5d30ee281cccb42e212.tar.gz
android_packages_apps_Snap-c2d36954c583fb17a2bca5d30ee281cccb42e212.tar.bz2
Snap: Fix zoom in video mode
The zoom parameter was changed but never applied. Change-Id: Ibed445179835e7b6ed146058320ab5c2db0d8179 (cherry picked from commit 8c64fae391fff390bac978c6bd639434bc1b19a5)
-rw-r--r--src/com/android/camera/VideoModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index b72cc1c..8c530a9 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1309,7 +1309,7 @@ public class VideoModule extends BaseModule<VideoUI> implements
if (mParameters == null || mCameraDevice == null) return index;
// Set zoom parameters asynchronously
mParameters.setZoom(mZoomValue);
- updateCameraParametersZoom();
+ mCameraDevice.setParameters(mParameters);
Parameters p = mCameraDevice.getParameters();
if (p != null) return p.getZoom();
return index;