Skip to content

Commit 6433d98

Browse files
committed
fix: Correctly removing bundle attributes from manifest
1 parent bdd3efe commit 6433d98

File tree

1 file changed

+3
-1
lines changed
  • shared/src/main/kotlin/app/revanced/manager/plugin/utils

1 file changed

+3
-1
lines changed

shared/src/main/kotlin/app/revanced/manager/plugin/utils/Merger.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ class Merger {
3535
arrayOf(
3636
AndroidManifest.NAME_requiredSplitTypes,
3737
AndroidManifest.NAME_splitTypes
38-
).forEach(manifestElement::removeAttributesWithName)
38+
).forEach {
39+
manifestElement.removeAttributeIf{ attribute -> attribute.name == it }
40+
}
3941

4042
val pattern = "^com\\.android\\.(stamp|vending)\\.".toRegex()
4143
applicationElement.removeElementsIf { element ->

0 commit comments

Comments
 (0)