commit | 81dfca0e057f8888f715fdc560d29ad95c20335e | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Fri Jun 07 10:20:27 2019 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Mon Jun 10 08:59:52 2019 -0700 |
tree | 6bdab1d9810ca527de5c397f904346b50ffab183 | |
parent | 1dbbe1133280d8bd361a29aa36b643e847a80d3a [diff] |
Fix asset compression to check name ends with arg There exists a discrepancy between how aapt1 and aapt2 prevent the compression of assets using the -0 flag. aapt1 checked if the file name ended with an argument, but aapt2 is checking if the file extension exactly matches the argument. This change makes aapt2 behave the same as aapt1 for asset compression using the -0 flag. Bug: 132823799 Test: aapt2_tests Change-Id: I641b3ebce29e4407b543faea373a5ce516b70cda