Revert "Revert "thermal: enable warm_reset on thermal shutdown""
This reverts commit 92f1b6c40a69bfae9234a1b936b08497da93e969.
Bug: 238464124
Test: Build and boot on device. Check last logcat logs
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I5148b5cf80f3177f66626aff9a4021a0aba197ec
diff --git a/device-common.mk b/device-common.mk
index cc37346..d952298 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -47,3 +47,7 @@
# ZramWriteback
-include hardware/google/pixel/mm/device_gki.mk
+
+# Set thermal warm reset
+PRODUCT_PRODUCT_PROPERTIES += \
+ ro.thermal_warmreset = true