diff options
author | Minghao Zhang <quic_minghao@quicinc.com> | 2021-11-19 16:51:09 +0800 |
---|---|---|
committer | Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com> | 2022-02-03 16:21:05 +0530 |
commit | 27f69ac1f01db2ed9f5184f5fea03ec65185d88a (patch) | |
tree | 79403cc07d5ace75579a12931bdf6a86b4a6d949 | |
parent | 6af76956d81649b4deb784d0e248dd6d9f8789ed (diff) |
thermal-hal: restart thermal hal service
When thermal hal service first boots up, it can not parse some
thermal zones' type from drivers' sysfs, like power supply,
because these establish later than thermal hal service. So
restart service and ensure that it can initialize successfully.
Change-Id: Ie737174445ed216d79a976e8e4b68719064e9066
-rw-r--r-- | android.hardware.thermal@2.0-service.qti-v2.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android.hardware.thermal@2.0-service.qti-v2.rc b/android.hardware.thermal@2.0-service.qti-v2.rc index bfe8d3a..a1100b6 100644 --- a/android.hardware.thermal@2.0-service.qti-v2.rc +++ b/android.hardware.thermal@2.0-service.qti-v2.rc @@ -32,3 +32,7 @@ service android.thermal-hal /vendor/bin/hw/android.hardware.thermal@2.0-service. class hal user root group root + +on boot + wait /sys/kernel/boot_adsp/boot + restart android.thermal-hal |