commit | 6895778c2082f19a011793672b938e88ec3885fc | [log] [tgz] |
---|---|---|
author | Tomasz Mikolajewski <mtomasz@google.com> | Tue Nov 22 15:27:38 2016 +0900 |
committer | Tomasz Mikolajewski <mtomasz@google.com> | Fri Nov 25 00:46:27 2016 +0000 |
tree | 110e2ebe0d7bb988b486265f197f8b2b39bd4ccf | |
parent | f5ed16ba2f05f6faab00966e9057cf8b9526e8b6 [diff] |
Do not close streams prematurely. Detach the FD from ParcelFileDescriptor to avoid the FD being closed by the PFD's finalizer. Test: Tested with some sample archives with images. Thumbnails show up. Bug: 32838482 Change-Id: I8dff9b84bbabd19f1fc1a7af545781444c5f889f (cherry picked from commit e1e3ae8614224fd5c425f85adec16b8eaa2cbd98)