summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2013-04-23 16:44:33 -0700
committerAngus Kong <shkong@google.com>2013-04-23 17:14:02 -0700
commit44ed61abd2dfd0e0a07887131a617e0518f28221 (patch)
tree8313ec9ed7b41f7af46645edd29ee135e955b13d /src/com/android/gallery3d/app
parentdc84a61759d87e17e191d9a7a5f3c008d3f62abc (diff)
downloadandroid_packages_apps_Snap-44ed61abd2dfd0e0a07887131a617e0518f28221.tar.gz
android_packages_apps_Snap-44ed61abd2dfd0e0a07887131a617e0518f28221.tar.bz2
android_packages_apps_Snap-44ed61abd2dfd0e0a07887131a617e0518f28221.zip
Use FULL_SENSOR for unlocked orientation.
bug:8689453 Change-Id: Ia81d970772f091fbd9bec142acfd5e9f84e0a0fb
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r--src/com/android/gallery3d/app/OrientationManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/OrientationManager.java b/src/com/android/gallery3d/app/OrientationManager.java
index 24201ff24..f2f632c9f 100644
--- a/src/com/android/gallery3d/app/OrientationManager.java
+++ b/src/com/android/gallery3d/app/OrientationManager.java
@@ -85,7 +85,7 @@ public class OrientationManager implements OrientationSource {
if (!mOrientationLocked) return;
mOrientationLocked = false;
Log.d(TAG, "unlock orientation");
- mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED);
+ mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR);
}
private int calculateCurrentScreenOrientation() {