mirror of
https://github.com/ReVanced/revanced-manager-downloaders.git
synced 2026-01-11 13:56:17 +00:00
fix: Correctly removing bundle attributes from manifest
This commit is contained in:
@@ -35,7 +35,9 @@ class Merger {
|
|||||||
arrayOf(
|
arrayOf(
|
||||||
AndroidManifest.NAME_requiredSplitTypes,
|
AndroidManifest.NAME_requiredSplitTypes,
|
||||||
AndroidManifest.NAME_splitTypes
|
AndroidManifest.NAME_splitTypes
|
||||||
).forEach(manifestElement::removeAttributesWithName)
|
).forEach {
|
||||||
|
manifestElement.removeAttributeIf{ attribute -> attribute.name == it }
|
||||||
|
}
|
||||||
|
|
||||||
val pattern = "^com\\.android\\.(stamp|vending)\\.".toRegex()
|
val pattern = "^com\\.android\\.(stamp|vending)\\.".toRegex()
|
||||||
applicationElement.removeElementsIf { element ->
|
applicationElement.removeElementsIf { element ->
|
||||||
|
|||||||
Reference in New Issue
Block a user