summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
diff options
context:
space:
mode:
authorlikaid <likaid@codeaurora.org>2015-07-06 14:01:01 +0800
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2016-01-08 22:48:57 -0800
commitc134c1e13143d634d97d408b7f44d291acb30404 (patch)
tree6cbf1b4c4c3d8fd8f5a557601c01852b100cfad8 /src/com/android/camera/VideoModule.java
parentba56fa8fe75c30881d4920738f085f9ca92adae1 (diff)
downloadandroid_packages_apps_Snap-c134c1e13143d634d97d408b7f44d291acb30404.tar.gz
android_packages_apps_Snap-c134c1e13143d634d97d408b7f44d291acb30404.tar.bz2
android_packages_apps_Snap-c134c1e13143d634d97d408b7f44d291acb30404.zip
SnapdragonCamera: Hide the preview cover when preview has started
The preview cover was shown when onPause, but didn't hide after resume. That caused the video preview turned to black screen. After the camera preview starts, hide the preview cover if it is still showing. Change-Id: I79fdcd45d46d7c083a132e864bbf42649b100ae4 CRs-Fixed: 865933
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-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 d19d9f465..86afd16bc 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1233,6 +1233,7 @@ public class VideoModule implements CameraModule,
private void onPreviewStarted() {
mUI.enableShutter(true);
+ mUI.hidePreviewCover();
}
@Override