mirror of
https://github.com/revanced/revanced-patches
synced 2024-06-02 11:26:20 +02:00
a12c4bb161
Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
17 lines
583 B
Kotlin
17 lines
583 B
Kotlin
package app.revanced.patches.tiktok.misc.settings.fingerprints
|
|
|
|
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
|
import org.jf.dexlib2.Opcode
|
|
|
|
object AboutPageFingerprint : MethodFingerprint(
|
|
opcodes = listOf(
|
|
Opcode.CONST, // copyrightPolicyLabel resource id
|
|
Opcode.INVOKE_VIRTUAL,
|
|
Opcode.MOVE_RESULT_OBJECT,
|
|
Opcode.CONST_STRING
|
|
),
|
|
customFingerprint = { methodDef, _ ->
|
|
methodDef.definingClass == "Lcom/ss/android/ugc/aweme/setting/page/AboutPage;" &&
|
|
methodDef.name == "onViewCreated"
|
|
}
|
|
) |