fix: Correctly removing bundle attributes from manifest

This commit is contained in:
brosssh
2025-07-04 15:07:24 +02:00
parent bdd3efef96
commit 6433d98495

View File

@@ -35,7 +35,9 @@ class Merger {
arrayOf(
AndroidManifest.NAME_requiredSplitTypes,
AndroidManifest.NAME_splitTypes
).forEach(manifestElement::removeAttributesWithName)
).forEach {
manifestElement.removeAttributeIf{ attribute -> attribute.name == it }
}
val pattern = "^com\\.android\\.(stamp|vending)\\.".toRegex()
applicationElement.removeElementsIf { element ->