summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-11-09 15:44:34 -0800
committerJeff Brown <jeffbrown@google.com>2011-11-09 15:46:27 -0800
commit4c37bcd9640dba620641362d3e639c7ed4f93a37 (patch)
tree63d6784a93da1a3a865eedc9ba3483623082f975
parent82f79eb12417ef2088840e10abbd77fa20ef7717 (diff)
downloaddevice_samsung_tuna-4c37bcd9640dba620641362d3e639c7ed4f93a37.zip
device_samsung_tuna-4c37bcd9640dba620641362d3e639c7ed4f93a37.tar.gz
device_samsung_tuna-4c37bcd9640dba620641362d3e639c7ed4f93a37.tar.bz2
Use accelerometer for desk docks.
The desk docks can be either portrait or landscape. Since we don't know which type we're plugged into in order to force the appropriate rotation, use the accelerometer. Bug: 5419637 Change-Id: Ia94caefde3cd34d766aefbe0a1991ae7cd11331b
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 5110ae8..e32862c 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -35,6 +35,7 @@
<integer name="config_deskDockKeepsScreenOn">0</integer>
<integer name="config_carDockKeepsScreenOn">1</integer>
+ <bool name="config_deskDockEnablesAccelerometer">true</bool>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>