summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/camera/PhotoUI.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java
index a364d797e..68507f461 100644
--- a/src/com/android/camera/PhotoUI.java
+++ b/src/com/android/camera/PhotoUI.java
@@ -107,9 +107,9 @@ public class PhotoUI implements PieListener,
w = height;
h = width;
}
- if (mPreviewWidth != w || mPreviewHeight != h) {
- mPreviewWidth = w;
- mPreviewHeight = h;
+ if (mPreviewWidth != width || mPreviewHeight != height) {
+ mPreviewWidth = width;
+ mPreviewHeight = height;
mController.onScreenSizeChanged(width, height, w, h);
}
}