P10: Start twoshay service during boot.

Bug: 199105154
Test: adb logcat | grep twoshay
Test: twoshay launched successfully.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If657e038e13fa02596518ab1bfcc109a9c29c2d3
This commit is contained in:
Mark Chang 2022-03-07 12:39:24 +00:00
parent 526123c675
commit 81d4d05b9c

View file

@ -2,6 +2,10 @@
import /vendor/etc/init/hw/init.gs201.rc import /vendor/etc/init/hw/init.gs201.rc
import /vendor/etc/init/hw/init.pantah.rc import /vendor/etc/init/hw/init.pantah.rc
on property:vendor.device.modules.ready=1
# Start the twoshay touch service
start twoshay
# Toggle glove_mode according to touch_sensitivity_mode # Toggle glove_mode according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /proc/focaltech_touch/high_sensitivity 0 write /proc/focaltech_touch/high_sensitivity 0