From fcc74d7d18c3e78f56bcdf122dee843026423b0a Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 21 Nov 2023 09:19:47 +0900 Subject: [PATCH] fix(YouTube/Minimized playback): buffer symbol showing up instead of play button --- .../patches/youtube/utils/settings/SettingsPatch.kt | 10 ---------- 1 file changed, 10 deletions(-) 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 */