From 5aec6cd3b7a93f0a992a8e9bd1a60e0f96ba4b09 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 8 Mar 2026 22:47:53 +0100 Subject: [PATCH] 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> --- .../revanced/patches/music/misc/androidauto/Fingerprints.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patches/src/main/kotlin/app/revanced/patches/music/misc/androidauto/Fingerprints.kt b/patches/src/main/kotlin/app/revanced/patches/music/misc/androidauto/Fingerprints.kt index 6fb1748eac..ecd2f905a0 100644 --- a/patches/src/main/kotlin/app/revanced/patches/music/misc/androidauto/Fingerprints.kt +++ b/patches/src/main/kotlin/app/revanced/patches/music/misc/androidauto/Fingerprints.kt @@ -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(