Merge "audio: apply thermal listener config" into rvc-d1-dev

Change-Id: I8bc79fc148d3a73830c518e664e46a41794db6e5
Change-Id: Id567520db3cb96ea9bbe6258f94ebc78189b8c7f
Change-Id: Ied34bfd0eeebb4ff98b2ac5920e0b61c3af30553
Change-Id: I94ea1a569d1934d568fdbf9c49238f382c02f654
Change-Id: I8d16ece93aa32ee662168361c325e1f052f9fed0
This commit is contained in:
Justin Weng
2020-05-14 09:17:09 +00:00
committed by Cyan_Hsieh
5 changed files with 14 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<audio_thermal_listener>
<major type="UNKNOWN" name="panel-audio-therm"/>
<minor type="UNKNOWN" name="sdm-therm"/>
<timer ms="200" threshold="NONE"/>
</audio_thermal_listener>

View File

@@ -115,6 +115,14 @@ PRODUCT_COPY_FILES += \
PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.feature.devicestate_listener.enable=true
# Audio Thermal Listener configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_thermal_listener.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_thermal_listener.xml
# Audio Features
PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.feature.thermal_listener.enable=true \
ifeq ($(wildcard vendor/google_devices/redfin/proprietary/device-vendor-redfin.mk),)
BUILD_WITHOUT_VENDOR := true
endif