From 517e7c4be21234524176fa18463422c10aac3f36 Mon Sep 17 00:00:00 2001 From: Mark Chang Date: Fri, 1 Jul 2022 04:05:58 +0000 Subject: [PATCH] L10: Start twoshay service on boot. Bug: 214118928 Test: Verified twoshay successfully launched on boot. Signed-off-by: Mark Chang Change-Id: I946f89058aae8ea522a5ca7e228b9aaf76fd4708 --- conf/init.lynx.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.lynx.rc b/conf/init.lynx.rc index 5d754c9..adc8fb6 100644 --- a/conf/init.lynx.rc +++ b/conf/init.lynx.rc @@ -29,6 +29,10 @@ on boot && property:ro.build.flavor=factory_lynx-userdebug # Audio test folder mkdir /data/AudioTest 0775 system system +# Start the twoshay touch service +on late-init && property:vendor.device.modules.ready=1 + start twoshay + on property:vendor.mfgapi.touchpanel.permission=1 chmod 0600 /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd