diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-11-09 15:44:34 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-11-09 15:46:27 -0800 |
commit | add20b82fd2c8dddd7a5974889b55567c4d7b756 (patch) | |
tree | 318276ffd79907f3c5b67065539d4f3afe2a1faa /overlay/frameworks/base | |
parent | aa260d988e0faf46618f7dac1278c15a4ae6350b (diff) | |
download | device_samsung_tuna-add20b82fd2c8dddd7a5974889b55567c4d7b756.zip device_samsung_tuna-add20b82fd2c8dddd7a5974889b55567c4d7b756.tar.gz device_samsung_tuna-add20b82fd2c8dddd7a5974889b55567c4d7b756.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
Diffstat (limited to 'overlay/frameworks/base')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 1 |
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> |