summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-12-22 12:31:31 -0800
committerDianne Hackborn <hackbod@google.com>2010-12-22 12:31:31 -0800
commit07f3d6649703ee21001ae1590bfd58282a447365 (patch)
treeec9e3d56786d93bba842cbc6bf6a0ed853486d8f /core
parenteaa9e2750ff77c860df34273b64bc0b678a75748 (diff)
downloadframeworks_base-07f3d6649703ee21001ae1590bfd58282a447365.zip
frameworks_base-07f3d6649703ee21001ae1590bfd58282a447365.tar.gz
frameworks_base-07f3d6649703ee21001ae1590bfd58282a447365.tar.bz2
Fix issue #3194697: default orientation for portrait-mode apps on stingray is backward?
Change-Id: Ia01963d1dcdda12ef1b4c56af2bd389e5dadbce1
Diffstat (limited to 'core')
-rw-r--r--core/res/res/values/config.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 0d840c2..8edea0d 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -214,6 +214,14 @@
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
+ <!-- If true, the direction rotation is applied to get to an application's requested
+ orientation is reversed. Normally, the model is that landscape is
+ clockwise from portrait; thus on a portrait device an app requesting
+ landscape will cause a clockwise rotation, and on a landscape device an
+ app requesting portrait will cause a counter-clockwise rotation. Setting
+ true here reverses that logic. -->
+ <bool name="config_reverseDefaultRotation">false</bool>
+
<!-- The number of degrees to rotate the display when the keyboard is open. -->
<integer name="config_lidOpenRotation">90</integer>