From 87c9d011e81c9d63a3bf67e6cc7071e690d99446 Mon Sep 17 00:00:00 2001 From: palaych Date: Mon, 7 Jun 2021 07:34:04 +0000 Subject: [PATCH] sm6150-common: init: Set permissions for double tap to wake node Change-Id: I0244ace82cee4b76a93d36624fe94cc78547860e --- rootdir/etc/init.target.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 816e5bd..6c1dc26 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -118,6 +118,10 @@ on boot mkdir /mnt/vendor/persist/goodix 0770 system system mkdir /mnt/vendor/persist/fpc 0770 system system + # Touchpanel + chmod 0664 /sys/devices/virtual/touch/touch_dev/double_tap + chown system system /sys/devices/virtual/touch/touch_dev/double_tap + on property:sys.boot_completed=1 # Set allocstall_threshold to 0 # Set swappiness to 100