From 388859df718e72c207c3998ebdb83f64d08868a4 Mon Sep 17 00:00:00 2001 From: Mark Chang Date: Wed, 27 Dec 2023 12:22:16 +0000 Subject: [PATCH] init: start twoshay on boot. Bug: 285254184 Bug: 285243910 Bug: 285328629 Test: twoshay launched successfully. Change-Id: I8bcd9b8ec4b32f14c14cc4d41d7bfed3a6c4d9ff Signed-off-by: Mark Chang --- conf/init.caiman.rc | 4 ++++ conf/init.komodo.rc | 4 ++++ conf/init.tokay.rc | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index 224321a2..ace8037d 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -55,3 +55,7 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet 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 + +# Start the twoshay touch service +on property:sys.boot_completed=1 + start twoshay diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 78d44bef..4a1007d4 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -55,3 +55,7 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet 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 + +# Start the twoshay touch service +on property:sys.boot_completed=1 + start twoshay diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index cdeeb23c..06f5d9a9 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -55,3 +55,7 @@ on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_complet 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 + +# Start the twoshay touch service +on property:sys.boot_completed=1 + start twoshay