touch: move the setup of gti ownership to gs-common

Bug: 278023960
Test: adb bugreport
Change-Id: Ifd57118d37261229f184a8098776423d96140239
Signed-off-by: Wendly Li <wendlyli@google.com>
This commit is contained in:
Wendly Li 2023-04-24 15:58:06 +00:00
parent 837a22b1d1
commit b9152eee7d

View file

@ -83,18 +83,6 @@ 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 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 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
# Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints # Override SF and RE uclamps to 0 on boot after being set elsewhere, for adpf cpu hints
on property:sys.boot_completed=1 on property:sys.boot_completed=1
trigger override-sf-uclamp trigger override-sf-uclamp