summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2011-11-21 15:40:22 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-11-21 15:40:22 -0800
commit8eb463670555c2acdac733ee10e8f087fd8cfb22 (patch)
treeff67337f7ebc7edd55a6ea4fd538d768cf8f28b5
parentc15225f964deebe2db14ca74fd90139a2bab548e (diff)
parent48dc15cfc57f12c0922c0e05306a37dab7db6813 (diff)
Merge "Change desk dock to use accelerometer by default."
-rwxr-xr-xcore/res/res/values/config.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 25f7d2565c92..326f1866681c 100755
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -314,9 +314,12 @@
<integer name="config_carDockKeepsScreenOn">1</integer>
<!-- 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>
+ based screen orientation. This defaults to true because it is
+ common for desk docks to be sold in a variety of form factors
+ with different orientations. Since we cannot always tell these docks
+ apart and the docks cannot report their true orientation on their own,
+ we rely on gravity to determine the effective orientation. -->
+ <bool name="config_deskDockEnablesAccelerometer">true</bool>
<!-- Control whether being in the car dock should enable accelerometer based
screen orientation. This defaults to true because putting a device in