summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormingwax <mingwax@codeaurora.org>2017-06-05 08:54:15 +0800
committerdianlujitao <dianlujitao@lineageos.org>2018-12-19 14:00:01 +0800
commit1d9bd67542409eacd1ce19de80a6db0be9de2b68 (patch)
treef4fe6a6e821cd38dfde2d1d62e2aca2ae6620c6e
parent11e0f6e0fafc8694294076a4ba7fcb4f1b933479 (diff)
downloadandroid_packages_apps_Snap-1d9bd67542409eacd1ce19de80a6db0be9de2b68.zip
android_packages_apps_Snap-1d9bd67542409eacd1ce19de80a6db0be9de2b68.tar.gz
android_packages_apps_Snap-1d9bd67542409eacd1ce19de80a6db0be9de2b68.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