summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaiChand Duppala <dsaichand@google.com>2023-08-01 14:22:40 -0700
committerSaiChand Duppala <dsaichand@google.com>2023-08-02 13:27:34 -0700
commit23b72ce780240afd50fa81a084585e9038adc4eb (patch)
tree66f49760630782fb9846dd8749636830ee59b632
parentfe8a7f979641935e75541fcdde0165b3f6fd9d02 (diff)
downloadzuma-23b72ce780240afd50fa81a084585e9038adc4eb.tar.gz
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
-rw-r--r--device.mk6
1 files changed, 6 insertions, 0 deletions
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