commit | 91c2ae50d57149366d5ab8ee9c763b4c4c6c9e0b | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Wed Mar 14 15:12:46 2018 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Mar 16 19:50:07 2018 +0000 |
tree | 8960d6dd775606192380e3e301ffb828ff0dc3f5 | |
parent | d7feeaa4630a6fa4e905b922b5a2a4b53e80dd90 [diff] |
Clean up DumpData-related functions This change cleans a few DumpData-related functions: * Makes GetDumpFds return the std::vector<DumpData> by value instead of by pointer. * Makes Dumpstate own the list of open tombstone and ANR files. * Removes two more globals. * Prevents a potential FD leak. Bug: None Test: `adb bugreport` succeeded Change-Id: I5fe6964266c8c1393da274cb54000521e6ab8a17