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-21 02:57:26 -0700
commitb2b78aa11a0e5c90e81ba19ffdaa32044519a9d9 (patch)
tree6efa210df2a14d94ccdffe0519b3028df0c8d5b6 /src/com/android/camera/VideoModule.java
parenta27f5779a51b581e60bd36b4af4ce5e32a005a3c (diff)
downloadandroid_packages_apps_Snap-b2b78aa11a0e5c90e81ba19ffdaa32044519a9d9.tar.gz
android_packages_apps_Snap-b2b78aa11a0e5c90e81ba19ffdaa32044519a9d9.tar.bz2
android_packages_apps_Snap-b2b78aa11a0e5c90e81ba19ffdaa32044519a9d9.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: 2021123 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 103529bb8..830c04079 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1136,7 +1136,6 @@ public class VideoModule implements CameraModule,
if(mWasMute != mIsMute) {
setMute(mIsMute, false);
}
- initializeVideoControl();
showVideoSnapshotUI(false);
installIntentFilter();
@@ -1153,6 +1152,7 @@ public class VideoModule implements CameraModule,
mUI.enableShutter(true);
}
+ initializeVideoControl();
mUI.applySurfaceChange(VideoUI.SURFACE_STATUS.SURFACE_VIEW);
mUI.initDisplayChangeListener();