From 23b72ce780240afd50fa81a084585e9038adc4eb Mon Sep 17 00:00:00 2001 From: SaiChand Duppala Date: Tue, 1 Aug 2023 14:22:40 -0700 Subject: Disable dumpstate strict-run flag The change disables the dumpstate strict-run flag, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling. Bug: 283326935 Test: Booted both P23 devices along with other strict_run changes. Then manually thermal throttled the devices and captured bugreports. In some tests Incident report took lot more than 20s, and in all these cases it was succesfully captured. Change-Id: Ie6e688ed7fb0218c1ace70d623f98378c7e6c1de --- device.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/device.mk b/device.mk index 1838573..d13ee32 100644 --- a/device.mk +++ b/device.mk @@ -1165,3 +1165,9 @@ endif # Touch service include hardware/google/pixel/input/twoshay.mk + +# Allow longer timeout for incident report generation in bugreport +# Overriding in /product partition instead of /vendor intentionally, +# since it can't be overridden from /vendor. +PRODUCT_PRODUCT_PROPERTIES += \ + dumpstate.strict_run=false -- cgit v1.2.3