From a7a56a898ef10c8a9bf4d010e2a2f395289d6138 Mon Sep 17 00:00:00 2001 From: SaiChand Duppala Date: Mon, 29 Apr 2024 14:27:23 -0700 Subject: [PATCH] Disable dumpstate strict-run flag in gs201 The change disables the dumpstate strict-run flag in gs201 devices, 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: 330400782 Test: Booted a gs201 device with the change. Then manually thermal throttled the device and captured bugreports. In some tests Incident report took a lot more more than 20s, and in all these cases it was succesfully captured. Change-Id: I177bd4aebc550ade855a8abf46ce261eea94d352 --- device.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/device.mk b/device.mk index 2d9949c0..8373599f 100644 --- a/device.mk +++ b/device.mk @@ -1163,3 +1163,10 @@ PRODUCT_PACKAGES += ufs_firmware_update.sh # Touch service include device/google/gs-common/touch/twoshay/aidl_gs101.mk include device/google/gs-common/touch/twoshay/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