fix(GmsCore support): Remove unnecessary provider hooking 6ef090b2d6

This commit is contained in:
inotia00 2025-01-28 14:16:35 +09:00
parent 18a854de19
commit fd11b17cb2

View File

@ -187,8 +187,6 @@ fun gmsCoreSupportPatch(
in AUTHORITIES, in AUTHORITIES,
-> referencedString.replace("com.google", gmsCoreVendorGroupId!!) -> referencedString.replace("com.google", gmsCoreVendorGroupId!!)
// No vendor prefix for whatever reason...
"subscribedfeeds" -> "$gmsCoreVendorGroupId.subscribedfeeds"
else -> null 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 return null