OSDN Git Service

Make dumpstate vibrate immediately.
authorJeff Brown <jeffbrown@google.com>
Thu, 11 Sep 2014 21:15:27 +0000 (14:15 -0700)
committerJeff Brown <jeffbrown@google.com>
Thu, 11 Sep 2014 21:19:04 +0000 (14:19 -0700)
commit1dc94e315680b47fe430ef90f46c50a25c92fb6d
tree42c89697058e9ccecdd15ce032619533cb8c8607
parent5ef471c5f986a52c681a29856c38f72127cdf8ac
Make dumpstate vibrate immediately.

Previously, the vibration was not performed until after stacks
were gathered which takes a long time.  Moved the vibration
to happen earlier so we provide better user feedback for the
three-button salute when collecting a bug report.

Deleted some dead code for playing begin/end sounds.

Improved the timing measurement code to help track down why
bug reports are so slow.  (They take over a minute now which
can cause us to lose valuable diagnostic information.)

Bug: 17474152
Change-Id: Iac73f7993d7dc85196aad96f459b22fd4a710f94
cmds/dumpstate/dumpstate.c
cmds/dumpstate/utils.c