summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-07-19 14:04:00 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-07-19 00:01:07 +0000
commit39445a3026aa961bdd372607c2e35168a643b990 (patch)
tree8854d664d29944ee5eef777079362c70254d4b62
parentd7d8aaeacc7ac8ac3cc0280057468bd39b2d80fc (diff)
wayne: Decleare dt2w node
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
-rw-r--r--BoardConfig.mk3
-rwxr-xr-xrootdir/etc/init.target.rc3
2 files changed, 6 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 150f21a..0f7f02b 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -163,6 +163,9 @@ OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
VSYNC_EVENT_PHASE_OFFSET_NS := 2000000
SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000
+# DT2W
+TARGET_TAP_TO_WAKE_NODE := "/proc/nvt_wake_gesture"
+
# Enable dexpreopt to speed boot time
ifeq ($(HOST_OS),linux)
ifneq ($(TARGET_BUILD_VARIANT),eng)
diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc
index 963dd95..4c14000 100755
--- a/rootdir/etc/init.target.rc
+++ b/rootdir/etc/init.target.rc
@@ -120,6 +120,9 @@ on boot
chown wifi wifi /sys/module/wlan/parameters/fwpath
setprop wlan.driver.status "ok"
+ chmod 0660 /proc/nvt_wake_gesture
+ chown system system /proc/nvt_wake_gesture
+
#Peripheral manager
service per_mgr /system/vendor/bin/pm-service
class core