summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/layout/video_module.xml3
-rw-r--r--src/com/android/camera/VideoUI.java2
2 files changed, 1 insertions, 4 deletions
diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml
index 267cc2c37..9caac3af9 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -33,8 +33,7 @@
android:id="@+id/preview_cover"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/black"
- android:visibility="gone" />
+ android:background="@android:color/black" />
<View
android:id="@+id/flash_overlay"
android:layout_width="match_parent"
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