summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormingwax <mingwax@codeaurora.org>2017-06-05 08:54:15 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-11-09 22:47:37 +0200
commit2e088aef48a5e36d31fa51ea09c68e50caf05499 (patch)
treea90382729e6a509551c8c09477bf4be13af7eea7
parente7c1dcf8673fda50a93d5dca9926385b4b39719a (diff)
downloadandroid_packages_apps_Snap-2e088aef48a5e36d31fa51ea09c68e50caf05499.zip
android_packages_apps_Snap-2e088aef48a5e36d31fa51ea09c68e50caf05499.tar.gz
android_packages_apps_Snap-2e088aef48a5e36d31fa51ea09c68e50caf05499.tar.bz2
SnapdragonCamera: SetParameters use the mParameters Object
User should use the mParameters take the place of mCameraDevice. getParameters. In order to update parameter in time. CRs-Fixed: 2054913 Change-Id: I605f05322a2a6072c40014f7ab472802c0350107
-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 1f3228b..190cc24 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -3244,7 +3244,7 @@ public class VideoModule implements CameraModule,
return;
}
forceFlashOffIfSupported(forceOff);
- mCameraDevice.setParameters(mCameraDevice.getParameters());
+ mCameraDevice.setParameters(mParameters);
}
@Override