From 1f57994db585ac1914fea28ebfdd5654b303b700 Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Fri, 3 Mar 2023 11:55:29 -0800 Subject: [PATCH] thermal: enable warm_reset on thermal shutdown Bug: 269552599 Test: Build and boot on device. Check lastlogcat on thermal shutdown Change-Id: I39e84d7beeb19fe604b4accfcef9d9ed2240329a Signed-off-by: Sayanna Chandula --- device-common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-common.mk b/device-common.mk index 54b538c4..95cbd19c 100644 --- a/device-common.mk +++ b/device-common.mk @@ -43,6 +43,10 @@ PRODUCT_PRODUCT_PROPERTIES += \ # ZramWriteback -include hardware/google/pixel/mm/device_gki.mk +# Set thermal warm reset +PRODUCT_PRODUCT_PROPERTIES += \ + ro.thermal_warmreset = true + # Indicate that the bootloader supports the MTE developer option switch # (MISC_MEMTAG_MODE_MEMTAG_ONCE), with the exception of _fullmte products that # force enable MTE.