summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriele M <moto.falcon.git@gmail.com>2017-02-08 20:22:26 +0100
committerDan Pasanen <dan.pasanen@gmail.com>2017-02-08 19:29:27 +0000
commit8c64fae391fff390bac978c6bd639434bc1b19a5 (patch)
tree8898eb8730386b7ce6908e97e2f1b48b0ea3882f
parent8ba41f452222c87a733fd2d045f9c513fd8d7799 (diff)
downloadandroid_packages_apps_Snap-8c64fae391fff390bac978c6bd639434bc1b19a5.zip
android_packages_apps_Snap-8c64fae391fff390bac978c6bd639434bc1b19a5.tar.gz
android_packages_apps_Snap-8c64fae391fff390bac978c6bd639434bc1b19a5.tar.bz2
Snap: Fix zoom in video mode
The zoom parameter was changed but never applied. Change-Id: Ibed445179835e7b6ed146058320ab5c2db0d8179
-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;