merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java
index a364d79..68507f4 100644
--- a/src/com/android/camera/PhotoUI.java
+++ b/src/com/android/camera/PhotoUI.java
@@ -107,9 +107,9 @@
                 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);
             }
         }