sdm710-common: override pixel thermal HAL service with HAL interfaces

Google removed the HAL interfaces in Pixel thermal HAL service after
QPR1 [1]. As a result, the pixel thermal HAL on Xiaomi sdm845 devices
cannot be started correct at boot. Override it in sdm845-common, and
restore the interface definitions.

[1] be6336211e

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
This commit is contained in:
Chenyang Zhong 2022-12-24 10:12:31 -05:00 committed by giasen
parent bc37c35dc4
commit 699b06ae9f

View file

@ -1121,3 +1121,13 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
socket audio_hw_socket seqpacket 0666 system system
onrestart restart audioserver
service vendor.thermal-hal-2-0 /vendor/bin/hw/android.hardware.thermal@2.0-service.pixel
override
interface android.hardware.thermal@1.0::IThermal default
interface android.hardware.thermal@2.0::IThermal default
class hal
user system
group system
priority -20
disabled