L10: support touch sensitivity mode switching am: 65f8ae9d06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/19035013 Change-Id: Ic84ab826bbac6e48cd805959648043e7af75c7a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c919e5d324
1 changed files with 7 additions and 0 deletions
|
@ -62,3 +62,10 @@ service vendor.loc_launcher /system/vendor/bin/loc_launcher
|
||||||
user wifi
|
user wifi
|
||||||
group wifi
|
group wifi
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue