commit | 06460ef0d7072114ea3280e1650f77f55e7223f4 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <[email protected]> | Tue Mar 14 18:52:13 2017 -0700 |
committer | Adam Lesinski <[email protected]> | Mon Mar 20 16:53:46 2017 -0700 |
tree | 5045dafbd896153c191ee0ea14717359021175e2 | |
parent | 3910adfb62b6db705878058ccbae52af0fecb172 [diff] |
AAPT2: Fix up file IO This also enables an AAPT behavior that CTS tests have come to depend on. Small files that compress negatively (get larger) are stored uncompressed. Some CTS tests assume this and try to open these files by mmapping them, which is only possible if they are uncompressed. Bug: 35461578 Test: make aapt2_tests Change-Id: Id622a6150fe72477ad65d67d1bad897a8ee2ffb9