commit | d6b83299a6d636c67fee8bd4ae07555a9ae2269a | [log] [tgz] |
---|---|---|
author | y <rtmitchell@google.com> | Wed Apr 11 09:54:56 2018 -0700 |
committer | y <rtmitchell@google.com> | Wed Apr 11 15:52:43 2018 -0700 |
tree | 3ba4327af7207a6a57c2375f87cdda1804651d08 | |
parent | 65317bac02e993d1313a1958a8497ff5f2a2ecd5 [diff] |
AAPT: Multiple period legacy support and errors AAPT would accept files with multiple periods in the filename as input. This lead to cases explained in b/74999475. This change adds error messages for files with multiple periods unless the legacy flag is present. With the legacy flag present, AAPT2 will behave like AAPT rather than throwing an error. Test: Added tests to aapt2_tests Bug: 73071563 Bug: 74999475 Change-Id: I28dfceeea7b39f8e4b9e6671e0fc8793cf388f52