From 82dc729d7867e3280dd13e36c3c43fcb11bd1af0 Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Fri, 14 Oct 2022 14:37:12 -0700 Subject: [PATCH] thermal: enable thermal engine Bug: 254108562 Test: Build and boot on device. Check thermal HAL logs Signed-off-by: Sayanna Chandula Change-Id: I0821c4486b7344ef85610da2f65021c2162aac3b --- device.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/device.mk b/device.mk index 350621b7..eebf8753 100644 --- a/device.mk +++ b/device.mk @@ -69,9 +69,6 @@ PRODUCT_SOONG_NAMESPACES += \ LOCAL_KERNEL := $(TARGET_KERNEL_DIR)/Image.lz4 -# thermal control disable -PRODUCT_PROPERTY_OVERRIDES += vendor.disable.thermal.control=1 - # OEM Unlock reporting PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ ro.oem_unlock_supported=1 @@ -1051,6 +1048,7 @@ include device/google/gs101/telephony/pktrouter.mk # Thermal HAL include hardware/google/pixel/thermal/device.mk PRODUCT_PROPERTY_OVERRIDES += persist.vendor.enable.thermal.genl=true +$(call soong_config_set,thermal_hal_feature,pid,apply_2_0) # EdgeTPU include device/google/gs-common/edgetpu/edgetpu.mk