sm7250-common: Build Pixel Thermal HAL

This commit is contained in:
mikairyuu 2022-08-20 12:16:48 +03:00
parent 5d983c08ba
commit 6268953703
2 changed files with 8 additions and 2 deletions

View File

@ -414,8 +414,14 @@ PRODUCT_BOOT_JARS += \
telephony-ext
# Thermal HAL
SOONG_CONFIG_NAMESPACES += thermal_hal_feature
SOONG_CONFIG_thermal_hal_feature += \
pid \
SOONG_CONFIG_thermal_hal_feature_pid ?= apply_1_0
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0-service.mock
android.hardware.thermal@2.0-service.pixel \
thermal_symlinks
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal_info_config.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json

View File

@ -89,7 +89,7 @@
# Thermal
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock u:object_r:hal_thermal_default_exec:s0
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.pixel u:object_r:hal_thermal_default_exec:s0
/vendor/bin/thermal_symlinks u:object_r:init-thermal-symlinks-sh_exec:s0
/dev/thermal(/.*)? u:object_r:thermal_link_device:s0