From bd011f56cd04219752b62ba372c31dd9e7b33515 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Mon, 15 Apr 2024 15:04:02 +0800 Subject: [PATCH] Init: start twoshay on boot. Bug: 315239534 Test: twoshay launched successfully. Change-Id: Ibff7dcfbdb736b87787aefe4ebc4a9a6b662f2fe Signed-off-by: Henry Wang --- conf/init.tegu.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.tegu.rc b/conf/init.tegu.rc index b22842c..df2cf28 100644 --- a/conf/init.tegu.rc +++ b/conf/init.tegu.rc @@ -41,3 +41,9 @@ on early-boot && property:ro.boot.hardware.sku=GXQ96 write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" on early-boot && property:ro.boot.hardware.sku=G3Y12 write /sys/bus/iio/devices/iio:device1/enabled_rails "CH11=BUCK12S" + +# Start the twoshay touch service +on property:sys.boot_completed=1 + chown system input /dev/touch_offload + chmod 660 /dev/touch_offload + start twoshay