Bug: 199105154 Test: adb logcat | grep twoshay Test: twoshay launched successfully. Signed-off-by: Mark Chang <changmark@google.com> Change-Id: If657e038e13fa02596518ab1bfcc109a9c29c2d3
14 lines
539 B
Text
14 lines
539 B
Text
# Panther specific init.rc
|
|
import /vendor/etc/init/hw/init.gs201.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
|
|
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
|
|
write /proc/focaltech_touch/high_sensitivity 0
|
|
|
|
on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1
|
|
write /proc/focaltech_touch/high_sensitivity 1
|