Start twoshay after setting touch_offload permissions.

On the current trigger, twoshay starts before it has permissions to
read the touch_offload devices and gives the following errors:

twoshay.twoshay_pipeline: Failed to open file with ret = -13
twoshay.twoshay_pipeline: Failed to open file with ret = -13

Bug: 216331251
Test: twoshay starts without the above errors
Change-Id: Iaad7600d3245174157ae01d8959f86bc79cb995e
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
This commit is contained in:
Philip Quinn 2021-10-29 12:14:04 -07:00 committed by Steve Pfetsch
parent f40642f16b
commit 78fa2057ed

View file

@ -2,8 +2,8 @@
import /vendor/etc/init/hw/init.gs101.rc
import /vendor/etc/init/hw/init.blueport.rc
on fs
# Start the twoshay touch service
# Start the twoshay touch service
on property:vendor.device.modules.ready=1
start twoshay
# Toggle glove_mode according to touch_sensitivity_mode