generated from ReVanced/revanced-patches-template
-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(youtube-music/bypass-certificate-checks): fix fingerprint for the…
… latest target app (#2567)
- Loading branch information
1 parent
58abb9e
commit 8eacb5b
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
...n/app/revanced/patches/music/misc/androidauto/fingerprints/CheckCertificateFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.") | ||
) |