feat(YouTube Music): Add experimental support for 9.09.52

Co-authored-by: LisoUseInAIKyrios <118716522+lisouseinaikyrios@users.noreply.github.com>

Co-authored-by: ILoveOpenSourceApplications <117499019+iloveopensourceapplications@users.noreply.github.com>
This commit is contained in:
oSumAtrIX 2026-03-08 22:47:53 +01:00
parent 6d8c94d0d2
commit 5aec6cd3b7
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -7,14 +7,15 @@ import app.revanced.patcher.invoke
import app.revanced.patcher.parameterTypes
import app.revanced.patcher.patch.BytecodePatchContext
import app.revanced.patcher.returnType
import app.revanced.patcher.strings
import com.android.tools.smali.dexlib2.iface.ClassDef
internal val BytecodePatchContext.checkCertificateMethod by gettingFirstMethodDeclaratively(
"X509",
) {
returnType("Z")
parameterTypes("Ljava/lang/String;")
instructions("Failed to get certificate"(String::contains))
parameterTypes("L")
strings("X509", "isPartnerSHAFingerprint")
}
internal val BytecodePatchContext.searchMediaItemsConstructorMethod by gettingFirstMethodDeclaratively(