aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2014-08-25 15:59:46 -0700
committerEthan Chen <intervigil@gmail.com>2014-08-25 21:29:56 -0700
commitc23691505b943f1da5ea05130ae2ed80d8d52375 (patch)
treee07bc8fc15740e330cf6ed8ac9a2c2bdd20be3fe
parentd6e727171e8bf9f6fc7d9decebb8f4a130d666ad (diff)
klte: add smart cover coords
Change-Id: I7e79c582a201eb1d17eff31c5528387a07202bed 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 d20ec43..cdd78fc 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -247,4 +247,24 @@
<!-- Performance profiles -->
<string name="config_perf_profile_prop">sys.perf.profile</string>
<string name="config_perf_profile_default_entry">1</string>
+
+ <!-- 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>800</item>
+ <item>1036</item>
+ </integer-array>
</resources>