dumpstate: always include last ANR as a separate entry.
For consistency, as well as to make tooling easier. Most of this change is an extended yak-shave to try and close DumpData FDs in a consistent manner. Several layers of abstraction were assuming that it was their job to close input FDs, leading to double closes in some cases. These double closes are benign prior to this change to dump a given DumpData twice, given that dumpstate is single threaded. Bug: 68188758 Test: adb bugreport Change-Id: I6302f4cb553139c0c26defb4859c4eca5b18ec93
Loading
Please register or sign in to comment