Merge "tg4: support touch sensitivity mode switching" into main

This commit is contained in:
Treehugger Robot 2024-06-05 03:33:28 +00:00 committed by Android (Google) Code Review
commit 4085949557

View file

@ -55,3 +55,11 @@ on property:sys.boot_completed=1
chown system input /dev/touch_offload
chmod 660 /dev/touch_offload
start twoshay
# Toggle high_sensitivity according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /sys/devices/virtual/goog_touch_interface/gti.0/screen_protector_mode_enabled 0
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