summaryrefslogtreecommitdiffstats
path: root/core/res/res/values/config.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-04-08 09:52:51 -0700
committerDianne Hackborn <hackbod@google.com>2010-04-08 09:52:51 -0700
commitaf4c302a0a30de3f380b3519f45a2919c5dfae46 (patch)
treea798127502064a5caf49a8e08b30f521d5e1e9c1 /core/res/res/values/config.xml
parent3f4639a6611222ae1ae5493de49213250d292139 (diff)
downloadframeworks_base-af4c302a0a30de3f380b3519f45a2919c5dfae46.zip
frameworks_base-af4c302a0a30de3f380b3519f45a2919c5dfae46.tar.gz
frameworks_base-af4c302a0a30de3f380b3519f45a2919c5dfae46.tar.bz2
Fix issue #2580316: Contacts and Phone app not supporting landscape mode...
...when launched from car home launcher For Eclair we made Droid a special case of treating the accelerometer as a hard orientation indicator for the car dock. This should really be the default behavior, so make it so. Change-Id: I70efb92036f86b55a436df29230253a192239adc
Diffstat (limited to 'core/res/res/values/config.xml')
-rw-r--r--core/res/res/values/config.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 29a815f..7ebbab0 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -128,11 +128,15 @@
in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) -->
<integer name="config_carDockKeepsScreenOn">1</integer>
- <!-- Control whether being in the desk dock should enable accelerometer based screen orientation -->
+ <!-- Control whether being in the desk dock should enable accelerometer
+ based screen orientation. Note this should probably default to true
+ like car dock, but we haven't had a chance to test it. -->
<bool name="config_deskDockEnablesAccelerometer">false</bool>
- <!-- Control whether being in the car dock should enable accelerometer based screen orientation -->
- <bool name="config_carDockEnablesAccelerometer">false</bool>
+ <!-- Control whether being in the car dock should enable accelerometer based
+ screen orientation. This defaults to true because putting a device in
+ a car dock make the accelerometer more a physical input (like a lid). -->
+ <bool name="config_carDockEnablesAccelerometer">true</bool>
<!-- Indicate whether the lid state impacts the accessibility of
the physical keyboard. 0 means it doesn't, 1 means it is accessible