summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2015-01-07 15:24:05 +0800
committerMichael Bestas <mikeioannina@gmail.com>2015-09-17 23:26:03 +0300
commitcec6fb2bd9f5f38882a2a5fcadd124d01fa9969a (patch)
tree7decee941c305e6ac15525f993e4203e069281cf
parent35a38acb7943b018c5d239d00c4ad48da5072b87 (diff)
downloadandroid_packages_apps_Snap-cec6fb2bd9f5f38882a2a5fcadd124d01fa9969a.zip
android_packages_apps_Snap-cec6fb2bd9f5f38882a2a5fcadd124d01fa9969a.tar.gz
android_packages_apps_Snap-cec6fb2bd9f5f38882a2a5fcadd124d01fa9969a.tar.bz2
SnapdragonCamera: Quick icon disappear after stop record by home key
Color effect and switch camera icons disappear if re-launch camera after press home key during recording video. The icons are hided when start record video, but show icons aren't called after stop video record by press home key. Show and hide icons should always be called when stop and start record video, so move the functions to stopVideoRecord and startVideoRecord. Change-Id: Ie4fe9102e226452502fcc382329cc0e01799b0cf CRs-Fixed: 777114
-rw-r--r--src/com/android/camera/VideoModule.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 54aa866..0352ac7 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1642,6 +1642,7 @@ public class VideoModule implements CameraModule,
mStartRecPending = true;
mUI.cancelAnimations();
mUI.setSwipingEnabled(false);
+ mUI.hideUIwhileRecording();
mActivity.updateStorageSpaceAndHint();
if (mActivity.getStorageSpaceBytes() <= Storage.LOW_STORAGE_THRESHOLD_BYTES) {