Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarin.Android.Build.Tasks] ignore aapt/AndroidManifest.xml
Context: https://stackoverflow.com/questions/41592744/function-of-aapt-androidmanifest-xml-in-aar Fixes: #2141 Apparently Android Studio is now shipping a duplicate, pre-formatted `AndroidManifest.xml` file, inside of AAR files. Its purpose is to be used with `aapt` invocations, since errors may be thrown related to `{` or `}` characters. Since this file may exist in AAR files used by Xamarin.Android, we should ignore `aapt/AndroidManifest.xml` files the same way we ignore them inside `manifest` or `bin` directories. Changes: - Added a `IgnoredManifestDirectories` list, since we are getting to a point where `!= && != && !=` would be a lot of noise. - Switched the LINQ expression to simple `foreach` loop, which should also give a slight performance benefit.
- Loading branch information