Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dfeda36 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

dumpstate: Increase timeout for lshal

On some Android Go devices, this command takes more than 2 seconds
to complete.  We change the timeout to 10 to match the timeout
for this !isZipping() case.

Bug: 132891629
Test: Confirmed this command doesn't get killed during a bugreport on a Go device
Change-Id: Ia707a80638fba25adb86618aac69e47aae6b75c0
parent 090d0e33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1232,7 +1232,7 @@ static void DumpHals() {
    }
    DurationReporter duration_reporter("DUMP HALS");
    RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z"},
               CommandOptions::WithTimeout(2).AsRootIfAvailable().Build());
               CommandOptions::WithTimeout(10).AsRootIfAvailable().Build());

    using android::hidl::manager::V1_0::IServiceManager;
    using android::hardware::defaultServiceManager;