diff options
author | Doris Liu <tianliu@google.com> | 2013-05-07 13:48:10 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2013-05-07 15:14:24 -0700 |
commit | 69ef5ea6ed838cf6fba834811f01122d349a61cf (patch) | |
tree | e1441d8897f53709ffbc5228d6b1eb10b3f165e8 /src/com/android/camera/ui/CameraControls.java | |
parent | c9a1195c43d7d9953b3060503188c1f28cd948b8 (diff) | |
download | android_packages_apps_Snap-69ef5ea6ed838cf6fba834811f01122d349a61cf.tar.gz android_packages_apps_Snap-69ef5ea6ed838cf6fba834811f01122d349a61cf.tar.bz2 android_packages_apps_Snap-69ef5ea6ed838cf6fba834811f01122d349a61cf.zip |
Fix video capture intent overlapping buttons
Bug: 8839010
Change-Id: I8ee9bd8117a4a5e4dafe71775bb5563cef2ccdf0
Diffstat (limited to 'src/com/android/camera/ui/CameraControls.java')
-rw-r--r-- | src/com/android/camera/ui/CameraControls.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |