touch: akita: Add command to follow touch_sensitivity prop
Bug: 263231128 Test: Manual test Change-Id: I06541638051ff8ac1e646a9c89bbccab61eb0bb0 Signed-off-by: Ravi Jain <raviajain@google.com>
This commit is contained in:
parent
7f32f2b7ed
commit
f722a2e935
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@ on post-fs-data
|
|||
on post-fs-data
|
||||
chown bluetooth system /proc/bluetooth/timesync
|
||||
|
||||
# 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
|
||||
|
||||
# Haptics
|
||||
on property:vendor.all.modules.ready=1
|
||||
mkdir /mnt/vendor/persist/haptics 0770 system system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue