mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-15 01:20:31 +02:00
16 lines
686 B
Kotlin
16 lines
686 B
Kotlin
|
package app.revanced.patches.shared.misc.integrations.fingerprints
|
||
|
|
||
|
import app.revanced.patcher.extensions.or
|
||
|
import app.revanced.patcher.fingerprint.MethodFingerprint
|
||
|
import app.revanced.patches.shared.misc.integrations.BaseIntegrationsPatch
|
||
|
import com.android.tools.smali.dexlib2.AccessFlags
|
||
|
|
||
|
internal object ReVancedUtilsPatchesVersionFingerprint : MethodFingerprint(
|
||
|
accessFlags = AccessFlags.PUBLIC or AccessFlags.STATIC,
|
||
|
returnType = "Ljava/lang/String;",
|
||
|
parameters = listOf(),
|
||
|
customFingerprint = { methodDef, classDef ->
|
||
|
methodDef.name == "getPatchesReleaseVersion" &&
|
||
|
classDef.type == BaseIntegrationsPatch.INTEGRATIONS_CLASS_DESCRIPTOR
|
||
|
}
|
||
|
)
|