summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/VideoModule.java2
-rw-r--r--src/com/android/camera/VideoUI.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 5743a70..fc75487 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -1166,6 +1166,7 @@ public class VideoModule implements CameraModule,
mZoomValue = 0;
resetExposureCompensation();
+ mUI.showSurfaceView();
initializeVideoControl();
showVideoSnapshotUI(false);
installIntentFilter();
@@ -1337,6 +1338,7 @@ public class VideoModule implements CameraModule,
mPaused = true;
mUI.showPreviewCover();
+ mUI.hideSurfaceView();
if (mMediaRecorderRecording) {
// Camera will be released in onStopVideoRecording.
onStopVideoRecording();
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java
index 967339f..6a8612c 100644
--- a/src/com/android/camera/VideoUI.java
+++ b/src/com/android/camera/VideoUI.java
@@ -574,7 +574,7 @@ public class VideoUI implements PieRenderer.PieListener,
}
public void hideSurfaceView() {
- mSurfaceView.setVisibility(View.GONE);
+ mSurfaceView.setVisibility(View.INVISIBLE);
}
public void showSurfaceView() {