From 69ef5ea6ed838cf6fba834811f01122d349a61cf Mon Sep 17 00:00:00 2001 From: Doris Liu Date: Tue, 7 May 2013 13:48:10 -0700 Subject: Fix video capture intent overlapping buttons Bug: 8839010 Change-Id: I8ee9bd8117a4a5e4dafe71775bb5563cef2ccdf0 --- src/com/android/camera/ui/CameraControls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/camera/ui/CameraControls.java') diff --git a/src/com/android/camera/ui/CameraControls.java b/src/com/android/camera/ui/CameraControls.java index d63a454a9..7940ae0d9 100644 --- a/src/com/android/camera/ui/CameraControls.java +++ b/src/com/android/camera/ui/CameraControls.java @@ -317,7 +317,7 @@ public class CameraControls extends RotatableLayout { // on the wrong side of the screen. We need to make adjustment to move the controls // to the USB side public void adjustControlsToRightPosition() { - int orientation = Util.getDisplayRotation((Activity) getContext()); + int orientation = getUnifiedRotation(); if (orientation >= 180) { flipChildren(); } -- cgit v1.2.3