allow modem to debug 5 seconds longer

Bug: 273638955
Bug: 273639036
Test: adb bugreport
Change-Id: I0c978577625397ba88958b31ae8ace6a6aabd9ab
This commit is contained in:
Adam Shih 2023-03-20 10:26:33 +08:00
parent 65460483f6
commit 27657f1a1e

View file

@ -283,7 +283,7 @@ void Dumpstate::dumpTextSection(int fd, const std::string &sectionName) {
dumpFiles = dumpFiles + " " + bin; dumpFiles = dumpFiles + " " + bin;
if (dumpAll || sectionName == bin) { if (dumpAll || sectionName == bin) {
auto startTime = startSection(fd, 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); endSection(fd, bin, startTime);
if (!dumpAll) { if (!dumpAll) {
return; return;