diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index 00bcb0f6..224321a2 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -48,3 +48,10 @@ on late-init && property:ro.boot.hardware.revision=PROTO1.0 on late-init && property:ro.boot.hardware.revision=PROTO1.1 setprop vendor.thermal.config "thermal_info_config_proto.json" + +# 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 diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 2f688aea..78d44bef 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -48,3 +48,10 @@ on late-init && property:ro.boot.hardware.revision=PROTO1.0 on late-init && property:ro.boot.hardware.revision=PROTO1.1 setprop vendor.thermal.config "thermal_info_config_proto.json" + +# 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 diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index a4787947..cdeeb23c 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -48,3 +48,10 @@ on late-init && property:ro.boot.hardware.revision=PROTO1.0 on late-init && property:ro.boot.hardware.revision=PROTO1.1 setprop vendor.thermal.config "thermal_info_config_proto.json" + +# 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