diff --git a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt index e6b6742cc..e1a241a62 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt @@ -160,16 +160,6 @@ object SettingsPatch : AbstractSettingsResourcePatch( } } - /** - * If ad services config exists, disable it - */ - context.xmlEditor["AndroidManifest.xml"].use { editor -> - val tags = editor.file.getElementsByTagName("property") - List(tags.length) { tags.item(it) as Element } - .filter { it.getAttribute("android:name").contains("AD_SERVICES_CONFIG") } - .forEach { it.parentNode.removeChild(it) } - } - /** * If a custom branding icon path exists, merge it */