Update preview size for focus manager after rotation

Bug: 9282724
Change-Id: I5c0f0ecb2bf47e9600198450a9fce3590b2c5d10
(cherry picked from commit c71bd4f897a2322baa6765aa8abcf2c3fe35c05a)
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);
             }
         }