sdm710-common: Build QTI Thermal 2.0 HAL

Revert 699b06a
Change-Id: Iae471a16a0284cd24a598bac1a3ea0736faceb9f
This commit is contained in:
Yumi Yukimura 2024-02-13 11:23:49 +08:00 committed by CakesTwix
parent f8a8af5f66
commit 5a4fd4769b
2 changed files with 4 additions and 11 deletions

View file

@ -1042,16 +1042,6 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
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
on property:sys.boot_completed=1
# Restrict permissions to socket file
# to hide Magisk & co.

View file

@ -469,7 +469,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
TetheringConfigOverlay
# Thermal engine
# Thermal
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0-service.qti
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf