summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-16 13:29:29 -0400
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-16 13:29:29 -0400
commit4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47 (patch)
tree777e9563b651faf3dd32d47dbab3135c976c81e3
parentfc5f10265fd676c14554a3c85fb665dfed5efe70 (diff)
parent268a573aed25cc0aa0da753756f2c844a67fde5f (diff)
downloadframeworks_base-4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47.zip
frameworks_base-4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47.tar.gz
frameworks_base-4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47.tar.bz2
Merge change 25276 into eclair
* changes: Use separate resources to control orientation change for car and desk docks.
-rw-r--r--core/res/res/values/config.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index b84a0d9..b710acb 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -70,8 +70,13 @@
<!-- The number of degrees to rotate the display when the keyboard is open. -->
<integer name="config_lidOpenRotation">90</integer>
- <!-- The number of degrees to rotate the display when the device is in a dock. -->
- <integer name="config_dockedRotation">90</integer>
+ <!-- The number of degrees to rotate the display when the device is in a desk dock.
+ A value of -1 means no change in orientation by default. -->
+ <integer name="config_deskDockRotation">-1</integer>
+
+ <!-- The number of degrees to rotate the display when the device is in a car dock.
+ A value of -1 means no change in orientation by default. -->
+ <integer name="config_carDockRotation">-1</integer>
<!-- Indicate whether the lid state impacts the accessibility of
the physical keyboard. 0 means it doesn't, 1 means it is accessible