commit | ead6dacf40c57f49ab3d09c09f614efb699c7a03 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Jun 12 15:00:01 2020 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Jun 18 15:52:16 2020 -0700 |
tree | 37ec157c10a423722ef17af8725b51d89e128bef | |
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)