summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-22 17:27:53 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-22 18:59:35 -0700
commit99f7eb453cee23e13f3ac8a4fa0632dd28f3a4b8 (patch)
tree5e76417979d27834989332e4539aa60090ad6ec1 /core
parentdf5862173c03f0d9595a2a5cb56c4af407d893dd (diff)
downloadframeworks_base-99f7eb453cee23e13f3ac8a4fa0632dd28f3a4b8.zip
frameworks_base-99f7eb453cee23e13f3ac8a4fa0632dd28f3a4b8.tar.gz
frameworks_base-99f7eb453cee23e13f3ac8a4fa0632dd28f3a4b8.tar.bz2
Dock screen on config can now select AC or USB.
Change-Id: Ifae9af4eb0295ba8e46c65879440b0da543b18e6
Diffstat (limited to 'core')
-rw-r--r--core/res/res/values/config.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 7aeaec4..a32f519 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -79,12 +79,16 @@
<integer name="config_carDockRotation">-1</integer>
<!-- Control whether being in the desk dock (and powered) always
- keeps the screen on. By default it doesn't. Set to true to make it. -->
- <bool name="config_deskDockKeepsScreenOn">false</bool>
+ keeps the screen on. By default it stays on when plugged in to
+ AC. 0 will not keep it on; or together 1 to stay on when plugged
+ in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) -->
+ <integer name="config_deskDockKeepsScreenOn">1</integer>
<!-- Control whether being in the car dock (and powered) always
- keeps the screen on. By default it does. Set to false to not keep on. -->
- <bool name="config_carDockKeepsScreenOn">true</bool>
+ keeps the screen on. By default it stays on when plugged in to
+ AC. 0 will not keep it on; or together 1 to stay on when plugged
+ 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 -->
<bool name="config_deskDockEnablesAccelerometer">false</bool>