From 78fa2057ed7548cf4dedfa88ef3edd9d9f4f25f8 Mon Sep 17 00:00:00 2001 From: Philip Quinn Date: Fri, 29 Oct 2021 12:14:04 -0700 Subject: [PATCH] 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 --- conf/init.bluejay.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/init.bluejay.rc b/conf/init.bluejay.rc index a7b9661..0151bd6 100644 --- a/conf/init.bluejay.rc +++ b/conf/init.bluejay.rc @@ -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