diff options
author | Biswarup Pal <biswarupp@google.com> | 2021-03-01 13:12:30 +0000 |
---|---|---|
committer | Biswarup Pal <biswarupp@google.com> | 2021-03-31 21:25:21 +0000 |
commit | d80f760516c293d011a8a211c076558a0328959c (patch) | |
tree | 7aca005acf4d1cb59aa061ff77ad06e03ea88b1d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7ff8faf4aff130b304127772fa6b439f86ec0e8d (diff) |
Refactor FileUtils#convertToModernFd
Replace implementation of FileUtils#convertToModernFd with
MediaStore#getOriginalMediaFormatFileDescriptor. Fix fd leak
by returning ParcelFileDescriptor instead of FileDescriptor.
Test: atest CtsProviderTestCases
Bug: 170488060
Change-Id: I7d6ecf4549e8ed5134d20977c2089240be804827
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions