summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/WideAnglePanoramaUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/WideAnglePanoramaUI.java')
-rw-r--r--src/com/android/camera/WideAnglePanoramaUI.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaUI.java b/src/com/android/camera/WideAnglePanoramaUI.java
index b0343c874..a29cbb8f3 100644
--- a/src/com/android/camera/WideAnglePanoramaUI.java
+++ b/src/com/android/camera/WideAnglePanoramaUI.java
@@ -327,9 +327,6 @@ public class WideAnglePanoramaUI extends BaseUI implements
mTextureView.setLayoutParams(param);
mTextureView.setX(xOffset);
mTextureView.setY(yOffset);
- mPreviewBorder.setLayoutParams(param);
- mPreviewBorder.setX(xOffset);
- mPreviewBorder.setY(yOffset);
mPreviewYOffset = yOffset;
mTextureView.layout(0, mPreviewYOffset, mTextureView.getRight(), mTextureView.getBottom());
@@ -636,6 +633,7 @@ public class WideAnglePanoramaUI extends BaseUI implements
mPanoFailedDialog.setRotation(-orientation);
mReview.setRotation(-orientation);
mTooFastPrompt.setRotation(-orientation);
+ mPreviewBorder.setRotation(-orientation);
mCameraControls.setOrientation(orientation, animation);
RotateTextToast.setOrientation(orientation);
}