sdm710-common: Build thermal HIDL HAL
* Log spam is gone: E HardwarePropertiesManagerService-JNI: Unable to get Thermal service. E HardwarePropertiesManagerService-JNI: Couldn't get device temperatures because of HAL error. W hwservicemanager: getTransport: Cannot find entry android.hardware.thermal@1.0::IThermal/default in either framework or device manifest. Change-Id: Ie8a04b58f7357086f42ddfd5cfe4a9fc555dfee0 Signed-off-by: YumeMichi <do4suki@gmail.com> Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
This commit is contained in:
parent
19bb8c274d
commit
0c8696f36d
2 changed files with 15 additions and 0 deletions
|
@ -683,4 +683,13 @@
|
|||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.thermal</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IThermal</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
|
|
@ -418,6 +418,12 @@ PRODUCT_PACKAGES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
TetheringConfigOverlay
|
||||
|
||||
# Thermal
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.thermal@1.0-impl \
|
||||
android.hardware.thermal@1.0-service
|
||||
|
||||
|
||||
# Thermal engine
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf
|
||||
|
|
Loading…
Reference in a new issue