summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
diff options
context:
space:
mode:
authormingwax <mingwax@codeaurora.org>2017-03-21 14:17:25 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-23 20:25:19 -0700
commitf8b965d7209d71dfcacfb9b6b8a0ad8d66eb5f5e (patch)
tree2e03d798b1322c535547134c17f6157656ac0db9 /src/com/android/camera/VideoModule.java
parentf254172075c749c3ecd68892ca8bae3a808db733 (diff)
downloadandroid_packages_apps_Snap-f8b965d7209d71dfcacfb9b6b8a0ad8d66eb5f5e.tar.gz
android_packages_apps_Snap-f8b965d7209d71dfcacfb9b6b8a0ad8d66eb5f5e.tar.bz2
android_packages_apps_Snap-f8b965d7209d71dfcacfb9b6b8a0ad8d66eb5f5e.zip
SnapdragonCamera: Fix no flash settings menu
(1) When user switch from photo mode to video mode, the object of mParameters should be updated. (2) Set the videoFlash mode values. CRs-Fixed: 2027214 Change-Id: Ie1e3ceba4c2304a57ae2758ab33de08825e72247
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-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 d57d61c4b..4332048a1 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1141,7 +1141,6 @@ public class VideoModule implements CameraModule,
if(mWasMute != mIsMute) {
setMute(mIsMute, false);
}
- initializeVideoControl();
showVideoSnapshotUI(false);
installIntentFilter();
@@ -1158,6 +1157,7 @@ public class VideoModule implements CameraModule,
mUI.enableShutter(true);
}
+ initializeVideoControl();
mUI.applySurfaceChange(VideoUI.SURFACE_STATUS.SURFACE_VIEW);
mUI.initDisplayChangeListener();