From 8eacb5b5ace816da4d98b990eff0ea208691660c Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sun, 2 Jul 2023 12:39:06 +0400 Subject: [PATCH] fix(youtube-music/bypass-certificate-checks): fix fingerprint for the latest target app (#2567) --- .../androidauto/fingerprints/CheckCertificateFingerprint.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/music/misc/androidauto/fingerprints/CheckCertificateFingerprint.kt b/src/main/kotlin/app/revanced/patches/music/misc/androidauto/fingerprints/CheckCertificateFingerprint.kt index 3c68e6a370..f6ab9dbbbc 100644 --- a/src/main/kotlin/app/revanced/patches/music/misc/androidauto/fingerprints/CheckCertificateFingerprint.kt +++ b/src/main/kotlin/app/revanced/patches/music/misc/androidauto/fingerprints/CheckCertificateFingerprint.kt @@ -1,9 +1,12 @@ package app.revanced.patches.music.misc.androidauto.fingerprints +import app.revanced.patcher.extensions.or import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint +import org.jf.dexlib2.AccessFlags object CheckCertificateFingerprint : MethodFingerprint( + accessFlags = AccessFlags.PUBLIC or AccessFlags.FINAL, returnType = "Z", parameters = listOf("Ljava/lang/String;"), - strings = listOf("X509", "Failed to get public key.", "Failed to get certificate.") + strings = listOf("X509", "Failed to get certificate.") ) \ No newline at end of file