Skip to content

Commit

Permalink
m1s1: Swap to standard thermal service
Browse files Browse the repository at this point in the history
Change-Id: I84f19f4b51f7e2525a3ddda73512a29193526953
  • Loading branch information
npjohnson committed Jun 20, 2024
1 parent e34f343 commit c33ae83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
18 changes: 2 additions & 16 deletions device-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -461,23 +461,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
vendor.thermal.config=thermal_info_config.json

# 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-service.pixel

# Thermal utils
PRODUCT_PACKAGES += \
thermal_symlinks

ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
thermal_logd
endif
android.hardware.thermal@1.0-impl \
android.hardware.thermal@1.0-service

# VR
PRODUCT_PACKAGES += \
Expand Down
10 changes: 9 additions & 1 deletion manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,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>

0 comments on commit c33ae83

Please sign in to comment.