From fd11b17cb2dc022db33c1a1597d0b5d45b52212c Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:16:35 +0900 Subject: [PATCH] fix(GmsCore support): Remove unnecessary provider hooking https://github.com/ReVanced/GmsCore/commit/6ef090b2d6ea7f7fbb00cf90eac621a603414b26 --- .../patches/shared/gms/GmsCoreSupportPatch.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/shared/gms/GmsCoreSupportPatch.kt b/patches/src/main/kotlin/app/revanced/patches/shared/gms/GmsCoreSupportPatch.kt index 92d885399..acafc1d06 100644 --- a/patches/src/main/kotlin/app/revanced/patches/shared/gms/GmsCoreSupportPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/shared/gms/GmsCoreSupportPatch.kt @@ -187,8 +187,6 @@ fun gmsCoreSupportPatch( in AUTHORITIES, -> referencedString.replace("com.google", gmsCoreVendorGroupId!!) - // No vendor prefix for whatever reason... - "subscribedfeeds" -> "$gmsCoreVendorGroupId.subscribedfeeds" else -> null } @@ -205,15 +203,6 @@ fun gmsCoreSupportPatch( ) } } - - // gms also has a 'subscribedfeeds' authority, check for that one too - val subFeedsUriPrefix = "content://subscribedfeeds" - if (str.startsWith(subFeedsUriPrefix)) { - return str.replace( - subFeedsUriPrefix, - "content://$gmsCoreVendorGroupId.subscribedfeeds" - ) - } } return null