From 81d4d05b9c6072c76bf9273482c91e7273ac1270 Mon Sep 17 00:00:00 2001 From: Mark Chang Date: Mon, 7 Mar 2022 12:39:24 +0000 Subject: [PATCH] P10: Start twoshay service during boot. Bug: 199105154 Test: adb logcat | grep twoshay Test: twoshay launched successfully. Signed-off-by: Mark Chang Change-Id: If657e038e13fa02596518ab1bfcc109a9c29c2d3 --- conf/init.panther.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.panther.rc b/conf/init.panther.rc index 7aaa2b5..4ba6117 100644 --- a/conf/init.panther.rc +++ b/conf/init.panther.rc @@ -2,6 +2,10 @@ 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