mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-04-30 06:34:37 +02:00
fix(GmsCore support): Remove unnecessary provider hooking 6ef090b2d6
This commit is contained in:
parent
18a854de19
commit
fd11b17cb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user