thermal: Enable thermal warm reset

Bug: 144071725
Test: ramoops exists after an intended triggered thermal shutdown
1) trigger thermal shutdown (temperature varies on different platform)
$ adb shell "echo 59100 > /sys/devices/virtual/thermal/tz-by-name/skin-therm-monitor/emul_temp"
2) verify ramoops exist after thermal shutdown
$ adb shell ls /sys/fs/pstore/console-ramoops-0
$ adb shell ls /sys/fs/psotre/pmsg-ramoops-0
Change-Id: I2f3fc4976ab4edf526e137ae4b3a03113db0e97b
This commit is contained in:
davidchao
2020-02-14 14:42:28 +08:00
committed by David Chao
parent 679ea44677
commit 9b03348100

View File

@@ -90,6 +90,10 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspa
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
# Set thermal warm reset
PRODUCT_PRODUCT_PROPERTIES += \
ro.thermal_warmreset = true \
# Audio low latency feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml