diff --git a/lito.mk b/lito.mk index 3f12744..06122ff 100644 --- a/lito.mk +++ b/lito.mk @@ -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 diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 689b9f0..bb58357 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -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