From 83cbb34a5b3647c1e68d5c1921fd93ecf65dbd3a Mon Sep 17 00:00:00 2001 From: Benjamin Halko Date: Wed, 27 Sep 2023 14:27:38 -0700 Subject: [PATCH] use revanced fingerprint --- .../app/revanced/manager/flutter/ExportSettingsActivity.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/ExportSettingsActivity.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/ExportSettingsActivity.kt index f31819e3..7a9f9f98 100644 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/ExportSettingsActivity.kt +++ b/android/app/src/main/kotlin/app/revanced/manager/flutter/ExportSettingsActivity.kt @@ -14,10 +14,12 @@ import java.security.cert.CertificateFactory import java.security.cert.X509Certificate import java.security.MessageDigest +import android.util.Log + class ExportSettingsActivity : Activity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) - val composeFingerprint = "" + val revancedFingerprint = "b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223" // Get the package name of the app that started the activity val packageName = getCallingPackage()!! @@ -40,7 +42,7 @@ class ExportSettingsActivity : Activity() { "%02x".format(it) } - if (fingerprint == composeFingerprint) { + if (fingerprint == revancedFingerprint) { sendData() } }