diff options
author | Kweku Adams <kwekua@google.com> | 2020-04-23 12:34:20 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-04-27 18:43:09 +0000 |
commit | f1ddecc60e0fe4c68961c06ffe0d0c9fdc463791 (patch) | |
tree | e76bb556778832f7d1bfbeb20041c48480baf194 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions