commit | 5f6ee4a11de1de262cea6465c2f991834b2e4792 | [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 12:53:48 2018 -0700 |
tree | 3bd092f0a2157341cacdc368ab8cbf37877bac04 | |
parent | 5f643f8f4f9ca0f93b5b6ab9b9130b753c425cca [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: http://b/73140330 Test: `adb bugreport` succeeded (cherry picked from commit 91c2ae50d57149366d5ab8ee9c763b4c4c6c9e0b) Change-Id: I5ceb9e4fc1e123dfd6823a7626492ce0b63cf822