L10: Start twoshay service on boot.

Bug: 214118928
Test: Verified twoshay successfully launched on boot.

Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: I946f89058aae8ea522a5ca7e228b9aaf76fd4708
This commit is contained in:
Mark Chang 2022-07-01 04:05:58 +00:00
parent 089571c33f
commit 517e7c4be2

View file

@ -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