mirror of
https://github.com/ReVanced/revanced-manager-downloaders.git
synced 2026-01-10 21:36:18 +00:00
fix: Correctly removing bundle attributes from manifest
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user