summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/CaptureUI.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/camera/CaptureUI.java b/src/com/android/camera/CaptureUI.java
index 9d293581a..ffca4a1f2 100644
--- a/src/com/android/camera/CaptureUI.java
+++ b/src/com/android/camera/CaptureUI.java
@@ -1514,6 +1514,9 @@ public class CaptureUI extends BaseUI implements PreviewGestures.SingleTapListen
boolean changed = (width != mPreviewWidth) || (height != mPreviewHeight);
mPreviewWidth = width;
mPreviewHeight = height;
+ if (changed) {
+ showSurfaceView();
+ }
return changed;
}