From 27657f1a1e5fe38d29892da0be688381e6bd3d2d Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Mon, 20 Mar 2023 10:26:33 +0800 Subject: [PATCH] allow modem to debug 5 seconds longer Bug: 273638955 Bug: 273639036 Test: adb bugreport Change-Id: I0c978577625397ba88958b31ae8ace6a6aabd9ab --- dumpstate/Dumpstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpstate/Dumpstate.cpp b/dumpstate/Dumpstate.cpp index 7045924e..298eee03 100644 --- a/dumpstate/Dumpstate.cpp +++ b/dumpstate/Dumpstate.cpp @@ -283,7 +283,7 @@ void Dumpstate::dumpTextSection(int fd, const std::string §ionName) { dumpFiles = dumpFiles + " " + bin; if (dumpAll || sectionName == bin) { auto startTime = startSection(fd, bin); - RunCommandToFd(fd, "/vendor/bin/dump/"+bin, {"/vendor/bin/dump/"+bin}); + RunCommandToFd(fd, "/vendor/bin/dump/"+bin, {"/vendor/bin/dump/"+bin}, CommandOptions::WithTimeout(15).Build()); endSection(fd, bin, startTime); if (!dumpAll) { return;