Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 91c2ae50 authored by Luis Hector Chavez's avatar Luis Hector Chavez Committed by Elliott Hughes
Browse files

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
parent d7feeaa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment