audio: apply thermal listener config

- apply PTL in acdb for speaker path
- add thermal listener configuration
- enable thermal listener

Bug: 143265000
Test: manual

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I7426e9febf678b1e50f511fdd89ded6902347175
This commit is contained in:
justinweng 2020-04-21 15:29:07 +08:00 committed by Cyan_Hsieh
parent 2cecb14c5d
commit 13f7ecaf13
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