diff options
author | Josh Gao <jmgao@google.com> | 2020-06-12 15:00:01 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-06-18 15:52:16 -0700 |
commit | ead6dacf40c57f49ab3d09c09f614efb699c7a03 (patch) | |
tree | 37ec157c10a423722ef17af8725b51d89e128bef /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 85cf423804e34536dc2c36e3043d78a0e829f47d (diff) |
Fix file descriptor ownership.
Previously, we attempt to pass ownership of the fd owned by a
ParcelFileDescriptor to a FileInputStream, which explodes when we try to
close it.
Bug: http://b/156867945
Bug: http://b/159264419
Test: treehugger
Change-Id: I9d5124658beb50f0a08499ed09e652037cb9ae66
(cherry picked from commit 3e29e4a39c9090e2815359a1fba0030f62ed8bbb)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions