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 c1063510b..20d7be1d2 100644
--- a/res/layout/video_module.xml
+++ b/res/layout/video_module.xml
@@ -42,8 +42,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 8447db27e..c99c8c8f5 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -1123,8 +1123,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