commit | f1ddecc60e0fe4c68961c06ffe0d0c9fdc463791 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu Apr 23 12:34:20 2020 -0700 |
committer | Kweku Adams <kwekua@google.com> | Mon Apr 27 18:43:09 2020 +0000 |
tree | e76bb556778832f7d1bfbeb20041c48480baf194 | |
parent | cd220824deb05a9d7aeae7d510f8fc6e43495674 [diff] |
Close heap dump ParcelFileDescriptor. The file descriptor is only closed in certain situations. Explicitly closing it to ensure we don't have any leaks. Bug: 154277871 Test: take a system heap dump via developer options & and watch for StrictMode violation Test: adb shell am dumpheap <system|another app> & and watch for StrictMode violation Change-Id: I3ae3e270bcec18ba531055becfff32924c8f2a2d