From cec6fb2bd9f5f38882a2a5fcadd124d01fa9969a Mon Sep 17 00:00:00 2001 From: kaiyiz Date: Wed, 7 Jan 2015 15:24:05 +0800 Subject: 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 --- src/com/android/camera/VideoModule.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java index 54aa86685..0352ac73e 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) { -- cgit v1.2.3