diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-11-21 13:25:24 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-11-21 13:30:01 -0800 |
commit | 48dc15cfc57f12c0922c0e05306a37dab7db6813 (patch) | |
tree | f5580b6bd70ca70680638dcda856bb92dc857258 /core/res | |
parent | fc6cf2888426f5192b9f284d14b911f3bbc7c2fb (diff) | |
download | frameworks_base-48dc15cfc57f12c0922c0e05306a37dab7db6813.zip frameworks_base-48dc15cfc57f12c0922c0e05306a37dab7db6813.tar.gz frameworks_base-48dc15cfc57f12c0922c0e05306a37dab7db6813.tar.bz2 |
Change desk dock to use accelerometer by default.
Change-Id: Ied528685c8db855bc2442574d0b80232aa38752c
Diffstat (limited to 'core/res')
-rwxr-xr-x | core/res/res/values/config.xml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 25f7d25..326f186 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 |