summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authortilaksidduram <tilaksidduram@gmail.com>2014-11-24 09:54:17 +0530
committertilaksidduram <tilaksidduram@gmail.com>2014-11-24 09:54:17 +0530
commit3b58f2d4e26284ad18bfc88728a1918a5e03eb4b (patch)
tree2590f0e41fdbc88d3770c3ac225b83da207feda6 /overlay
parente5eeb1dd04560d2495d48704ad79537993244660 (diff)
downloaddevice_samsung_n7100-3b58f2d4e26284ad18bfc88728a1918a5e03eb4b.zip
device_samsung_n7100-3b58f2d4e26284ad18bfc88728a1918a5e03eb4b.tar.gz
device_samsung_n7100-3b58f2d4e26284ad18bfc88728a1918a5e03eb4b.tar.bz2
N7100: Add ambient display doze feature
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml7
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml6
2 files changed, 13 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 c99dca1..c4f59d6 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -119,4 +119,11 @@
<!-- Boolean to enable stylus gestures
<bool name="config_stylusGestures">true</bool> -->
+
+ <!-- Doze mode -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+ <integer name="config_screenBrightnessDoze">10</integer>
+ <bool name="config_dozeAfterScreenOff">true</bool>
+ <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
+ <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
</resources>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index 88851f7..49b1c81 100644
--- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -22,5 +22,11 @@
<resources>
<!-- Control whether status bar should distinguish HSPA data icon form UMTS data icon on devices -->
<bool name="config_hspa_data_distinguishable">true</bool>
+
+ <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
+ <bool name="doze_display_state_supported">true</bool>
+
+ <!-- Doze: should the pickup sensor be used as a pulse signal? -->
+ <bool name="doze_pulse_on_pick_up">true</bool>
</resources>