From 4560af5d2fd2242ce3c1679e0b973dbc0d987c5d Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Wed, 6 Feb 2019 19:09:21 -0600 Subject: [PATCH] sm6150-common: livedisplay: Fix racy init * It turns out moving this to class main doesn't work as well as some had thought it would, so restore the previous logic to use class hal, and restart if the backend isn't up yet Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1 --- .../vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livedisplay/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc b/livedisplay/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc index 6343994..aa9eb27 100644 --- a/livedisplay/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc +++ b/livedisplay/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150.rc @@ -6,7 +6,7 @@ on boot chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150 - class hal + class late_start user system group system writepid /dev/cpuset/system-background/tasks