From 06fea09686c1752f4760f51f962420fc9ee4708e Mon Sep 17 00:00:00 2001 From: Oleg Matcovschi Date: Fri, 27 May 2022 10:30:25 -0700 Subject: [PATCH] thermal: enable warm_reset on thermal shutdown Test: adb shell setprop sys.powerctl shutdown,thermal Bug: 232092738 Signed-off-by: Oleg Matcovschi Change-Id: I198b8de7055b8713460340df613d4309df72ec6d --- device-common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-common.mk b/device-common.mk index 0ceb1242..81590245 100644 --- a/device-common.mk +++ b/device-common.mk @@ -43,3 +43,7 @@ PRODUCT_PRODUCT_PROPERTIES += \ # ZramWriteback -include hardware/google/pixel/mm/device_gki.mk + +# Set thermal warm reset +PRODUCT_PRODUCT_PROPERTIES += \ + ro.thermal_warmreset = true