allow modem to debug 5 seconds longer am: 27657f1a1e

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/22120411

Change-Id: I3dc1fcc40a8953ef5ca87819c0c7b8f769c57752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Adam Shih 2023-03-20 04:09:33 +00:00 committed by Automerger Merge Worker
commit 0cb8276e06

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;