From e61c8498e67203d440897849e126e05d8bde3380 Mon Sep 17 00:00:00 2001 From: Wendly Li Date: Fri, 29 Jul 2022 10:19:33 +0000 Subject: [PATCH] touch: change touch sysfs node ownership for dumpstate Bug: 214118904 Test: adb bugreport Change-Id: Ia0e133e86b11421e7b97aaea4e551f8a2fd6933f Signed-off-by: Wendly Li --- conf/init.lynx.rc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index ae113fd..10140a5 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -77,3 +77,15 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 1 + +# Touch +on property:vendor.device.modules.ready=1 + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/force_active + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/fw_ver + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_base + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_diff + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ms_raw + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/self_test + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_base + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_diff + chown system system /sys/devices/virtual/goog_touch_interface/gti.0/ss_raw