Work on issue #
24403813: ANR traces are too heavyweight.
Most of the changes here are optional debugging output.
The actual functional changes:
(1) One of the ANR paths was not being dispatched on the activity
manager's handler, so it could execute concurrently with other
ANR collection, conflicting with the ANR file.
(2) Bumped up the timeout for trace collection from 200ms to
1000ms. This should fix problems where some process were not
being included, since once one of the collections times out we
can no longer keep synchronized with anything else after and
could end up with data getting corrupt or blown away.
Change-Id: If6828d2dea1a25cd6d2334a652b1b31654d9062f