OSDN Git Service

Explicitly sets dumpsys timeout.
authorFelipe Leme <felipeal@google.com>
Wed, 8 Jun 2016 16:51:29 +0000 (09:51 -0700)
committerFelipe Leme <felipeal@google.com>
Wed, 8 Jun 2016 16:51:29 +0000 (09:51 -0700)
commit7cff462202437da5bba003a8687582af21fa0a0b
tree85f3b57f95111bbdaf98045131cda12e31057fa0
parent0950fb3d20d100f62961db1cc3eff51b51f9ca6b
Explicitly sets dumpsys timeout.

The run_command() function takes a timeout as argument, and dumpsys can
also optionally takes a timeout with the -t argument, hence it makes
sense to pass the same value for both (otherwise dumpsys will timeout in
10s).

BUG: 29042642
Change-Id: Ib6e987d94e966686bab71223d7f910af9e549814
cmds/dumpstate/dumpstate.cpp