[TEMP] Switch to mock thermal

This commit is contained in:
mikairyuu 2022-08-18 00:28:19 +03:00
parent 84b5c780ad
commit d7397d77ef
2 changed files with 2 additions and 3 deletions

View File

@ -415,8 +415,7 @@ PRODUCT_BOOT_JARS += \
# Thermal HAL
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0-service.pixel \
thermal_symlinks
android.hardware.thermal@2.0-service.mock
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\.pixel u:object_r:hal_thermal_default_exec:s0
/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock 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