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
This commit is contained in:
Paul Keith 2019-02-06 19:09:21 -06:00 committed by basamaryan
parent 5c5679a04e
commit 4560af5d2f

View File

@ -6,7 +6,7 @@ on boot
chmod 0660 /sys/devices/platform/soc/soc:qcom,dsi-display/hbm 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 service vendor.livedisplay-hal-2-1 /vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150
class hal class late_start
user system user system
group system group system
writepid /dev/cpuset/system-background/tasks writepid /dev/cpuset/system-background/tasks