aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2014-08-19 10:19:46 -0700
committerRoman Birg <roman@cyngn.com>2014-08-19 10:19:46 -0700
commitb06f7d9e2e5e6a3992a5dee75124dc046079646b (patch)
treed84f442a847eabc77abd099d24a86e36e3a7b037
parentf9d5f6bb61e1119b735549043d9be411b1c69df6 (diff)
jflte: add smart cover config
Change-Id: Ice8cde4414da6caa111b832e6d5ba9c06be8f232 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml20
1 files changed, 20 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 6d26063..90c09fc 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -261,4 +261,24 @@
movement threshold where scrolling should begin. -->
<dimen name="config_viewConfigurationTouchSlop">4dp</dimen>
+ <!-- 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>
+
+ <!-- Indicate the device's Smart Cover coordinates.
+ If none are provided, then the feature will be disabled.
+ The array should contain 4 values, in pixels, (sample values provided):
+ Top 0
+ Left 100
+ Bottom Top + 400
+ Right Display Width - 100
+ -->
+ <integer-array name="config_smartCoverWindowCoords">
+ <item>30</item>
+ <item>44</item>
+ <item>450</item>
+ <item>1036</item>
+ </integer-array>
+
</resources>