mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
use revanced fingerprint
This commit is contained in:
parent
7559c7b67e
commit
83cbb34a5b
@ -14,10 +14,12 @@ import java.security.cert.CertificateFactory
|
|||||||
import java.security.cert.X509Certificate
|
import java.security.cert.X509Certificate
|
||||||
import java.security.MessageDigest
|
import java.security.MessageDigest
|
||||||
|
|
||||||
|
import android.util.Log
|
||||||
|
|
||||||
class ExportSettingsActivity : Activity() {
|
class ExportSettingsActivity : Activity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
val composeFingerprint = ""
|
val revancedFingerprint = "b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223"
|
||||||
|
|
||||||
// Get the package name of the app that started the activity
|
// Get the package name of the app that started the activity
|
||||||
val packageName = getCallingPackage()!!
|
val packageName = getCallingPackage()!!
|
||||||
@ -40,7 +42,7 @@ class ExportSettingsActivity : Activity() {
|
|||||||
"%02x".format(it)
|
"%02x".format(it)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fingerprint == composeFingerprint) {
|
if (fingerprint == revancedFingerprint) {
|
||||||
sendData()
|
sendData()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user