Restart Samsung lights HAL late in the boot process.

Lights HAL doesn't work on Snapdragon Samsun S10 series for an unknown
reason when started too early, and we don't control its start time.

So just restart it later.
This commit is contained in:
Pierre-Hugues Husson 2019-08-10 13:16:40 +02:00
parent 4293be815c
commit 9d438701da

View File

@ -13,6 +13,8 @@ if grep -qF android.hardware.boot /vendor/manifest.xml || grep -qF android.hardw
bootctl mark-boot-successful bootctl mark-boot-successful
fi fi
setprop ctl.restart sec-light-hal-2-0
#Clear looping services #Clear looping services
sleep 30 sleep 30
getprop | \ getprop | \