summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2019-06-07 10:20:27 -0700
committerRyan Mitchell <rtmitchell@google.com>2019-06-10 08:59:52 -0700
commit81dfca0e057f8888f715fdc560d29ad95c20335e (patch)
tree6bdab1d9810ca527de5c397f904346b50ffab183 /tools/aapt2/java/JavaClassGenerator.cpp
parent1dbbe1133280d8bd361a29aa36b643e847a80d3a (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions