summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorJay Wang <jaywang@codeaurora.org>2016-04-14 17:33:30 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-03 15:45:46 -0700
commit96c7df0073613b5945322b3be575a597c3f38a35 (patch)
tree659d632f1e171712693ec700bd235b7da36d41bc /src/com/android
parent72a66ba511689265868439282361a353fa348fe5 (diff)
downloadandroid_packages_apps_Snap-96c7df0073613b5945322b3be575a597c3f38a35.tar.gz
android_packages_apps_Snap-96c7df0073613b5945322b3be575a597c3f38a35.tar.bz2
android_packages_apps_Snap-96c7df0073613b5945322b3be575a597c3f38a35.zip
SnapdragonCamera: Fix viewfinder flashing issue in camcorder mode
The preview cover is removed before the preview frame is generated and causes the homescreen shows up for a short duration. To resolve the issue, show the preview cover by default until the first preview frame is generated by camera framework. Change-Id: I1e193b64689b8b51eaa0e3891974405536869efd CRs-Fixed: 1003977
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/camera/VideoUI.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java
index 375e89b66..4fcc20fbf 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -1024,8 +1024,6 @@ public class VideoUI implements PieRenderer.PieListener,
@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
Log.v(TAG, "surfaceChanged: width = " + width + ", height = " + height);
- // Make sure preview cover is hidden if preview data is available.
- hidePreviewCover();
}
@Override