aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslayher <layhertony@gmail.com>2014-01-26 10:13:55 -0500
committerDirk Rettschlag <dirk.rettschlag@gmail.com>2014-02-01 14:03:48 +0100
commitb9e60afbe0785fbcf9190f5a44f273697752a771 (patch)
tree05f7134eead16448ff74b3c8fe138f703d9fe395
parent1f1729720c5bdb7366d5a2ffcf0c22cd634ba871 (diff)
Allow flip cover to sleep screen when shut.
Current behavior allows the screen to turn on when the flip is opened but does not turn off the screen when closed. Change-Id: Iec3c7fd4cece71360a32c2abae2fe8f76da9e244
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml5
1 files changed, 5 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 e2693d1..0323c81 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -88,4 +88,9 @@
<!-- True if the gesture service should be started at system start -->
<bool name="config_enableGestureService">true</bool>
+ <!-- Indicate whether closing the lid causes the device to go to sleep and opening
+ it causes the device to wake up.
+ The default is false. -->
+ <bool name="config_lidControlsSleep">true</bool>
+
</resources>