Bug: 225351394 Test: Verified twoshay not running in charger mode using cereal (P31701277). Signed-off-by: Mark Chang <changmark@google.com> Change-Id: Iad139a8340f5a8e6ee53ba434edc3b98379f68e2
14 lines
552 B
Text
14 lines
552 B
Text
# Panther specific init.rc
|
|
import /vendor/etc/init/hw/init.gs201.rc
|
|
import /vendor/etc/init/hw/init.pantah.rc
|
|
|
|
on late-init && 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
|