From 3720b4ac076a117251fa1a920b617f088de02a4b Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sun, 1 Sep 2024 03:13:34 +0900 Subject: [PATCH] fix(YouTube Music/GmsCore support): `Open GmsCore` setting is not added if user only includes `GmsCore support` patch https://github.com/inotia00/ReVanced_Extended/issues/2351 --- .../revanced/patches/music/utils/gms/GmsCoreSupportPatch.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/music/utils/gms/GmsCoreSupportPatch.kt b/src/main/kotlin/app/revanced/patches/music/utils/gms/GmsCoreSupportPatch.kt index 19c87aa2a..39c0a5f22 100644 --- a/src/main/kotlin/app/revanced/patches/music/utils/gms/GmsCoreSupportPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/utils/gms/GmsCoreSupportPatch.kt @@ -5,6 +5,7 @@ import app.revanced.patches.music.utils.fix.client.SpoofUserAgentPatch import app.revanced.patches.music.utils.fix.fileprovider.FileProviderPatch import app.revanced.patches.music.utils.integrations.IntegrationsPatch import app.revanced.patches.music.utils.mainactivity.fingerprints.MainActivityFingerprint +import app.revanced.patches.music.utils.settings.SettingsPatch import app.revanced.patches.shared.gms.BaseGmsCoreSupportPatch import app.revanced.patches.shared.gms.BaseGmsCoreSupportResourcePatch.Companion.ORIGINAL_PACKAGE_NAME_YOUTUBE_MUSIC @@ -15,7 +16,8 @@ object GmsCoreSupportPatch : BaseGmsCoreSupportPatch( integrationsPatchDependency = IntegrationsPatch::class, dependencies = setOf( SpoofUserAgentPatch::class, - FileProviderPatch::class + FileProviderPatch::class, + SettingsPatch::class ), gmsCoreSupportResourcePatch = GmsCoreSupportResourcePatch, compatiblePackages = COMPATIBLE_PACKAGE