OSDN Git Service

Add resources to allow forcing accelerometer based orientation management when docked.
authorMike Lockwood <lockwood@android.com>
Sun, 20 Sep 2009 04:47:36 +0000 (00:47 -0400)
committerMike Lockwood <lockwood@android.com>
Sun, 20 Sep 2009 05:57:09 +0000 (01:57 -0400)
Change-Id: I708507db735e08a13daeff95e106f0a53037f760

Signed-off-by: Mike Lockwood <lockwood@android.com>
core/res/res/values/config.xml

index 63eff68..7695503 100644 (file)
          keeps the screen on.  By default it does.  Set to false to not keep on. -->
     <bool name="config_carDockKeepsScreenOn">true</bool>
 
+    <!-- Control whether being in the desk dock should enable accelerometer based screen orientation -->
+    <bool name="config_deskDockEnablesAccelerometer">false</bool>
+
+    <!-- Control whether being in the car dock should enable accelerometer based screen orientation -->
+    <bool name="config_carDockEnablesAccelerometer">false</bool>
+
     <!-- Indicate whether the lid state impacts the accessibility of
          the physical keyboard.  0 means it doesn't, 1 means it is accessible
          when the lid is open, 2 means it is accessible when the lid is