From c84dabd4dd721de06b198ed3c2b53addf8577a9b Mon Sep 17 00:00:00 2001 From: Anand S Date: Thu, 18 Jul 2024 12:56:42 +0530 Subject: [PATCH] fogos: rootdir: Adjust touch gesture permissions Change-Id: Idd31868362f28525953fd3e608ed6a0d9b7ca837 --- rootdir/etc/init/hw/init.mmi.overlay.rc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/rootdir/etc/init/hw/init.mmi.overlay.rc b/rootdir/etc/init/hw/init.mmi.overlay.rc index d53dde8..0e7334d 100644 --- a/rootdir/etc/init/hw/init.mmi.overlay.rc +++ b/rootdir/etc/init/hw/init.mmi.overlay.rc @@ -1,13 +1,6 @@ # sec_nfc import /vendor/etc/init/hw/init.nfc.sec.rc -on post-fs - # "Tap to wake" gesture - chown root input /sys/class/sensors/dt-gesture/enable - chmod 0660 /sys/class/sensors/dt-gesture/enable - chown root input /sys/class/sensors/dt-gesture/poll_delay - chmod 0660 /sys/class/sensors/dt-gesture/poll_delay - on post-fs chown system system /sys/devices/platform/soc/4804000.ufshc/clkgate_enable chown system system /sys/devices/platform/soc/4804000.ufshc/devfreq/4804000.ufshc/min_freq @@ -84,6 +77,9 @@ on boot chown root input /sys/class/sensors/Moto\ CapSense\ Ch3/poll_delay chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/enable chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/poll_delay + # Change ownership for touch gesture + chown root input /sys/class/sensors/dt-gesture/enable + chown root input /sys/class/sensors/dt-gesture/poll_delay # touch chown system system /sys/class/touchscreen/primary/interpolation chmod 0660 /sys/class/touchscreen/primary/interpolation