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:
parent
089571c33f
commit
517e7c4be2
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ on boot && property:ro.build.flavor=factory_lynx-userdebug
|
||||||
# Audio test folder
|
# Audio test folder
|
||||||
mkdir /data/AudioTest 0775 system system
|
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
|
on property:vendor.mfgapi.touchpanel.permission=1
|
||||||
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd
|
chown system system /sys/devices/virtual/sec/tsp/cmd
|
||||||
|
|
Loading…
Reference in a new issue