fix(YouTube Music/Video Information): apply fingerprint compatible with the wider version

This commit is contained in:
inotia00 2024-03-27 17:02:12 +09:00
parent a81746bd8a
commit e7aa9c1b41

View File

@ -1,17 +1,16 @@
package app.revanced.patches.music.video.information.fingerprints package app.revanced.patches.music.video.information.fingerprints
import app.revanced.patcher.fingerprint.MethodFingerprint import app.revanced.util.fingerprint.MethodReferenceNameFingerprint
import com.android.tools.smali.dexlib2.Opcode import com.android.tools.smali.dexlib2.Opcode
object VideoLengthFingerprint : MethodFingerprint( object VideoLengthFingerprint : MethodReferenceNameFingerprint(
opcodes = listOf( opcodes = listOf(
Opcode.INVOKE_VIRTUAL, Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT_WIDE, Opcode.MOVE_RESULT_WIDE,
Opcode.INVOKE_VIRTUAL, Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT_WIDE, Opcode.MOVE_RESULT_WIDE,
Opcode.INVOKE_VIRTUAL, Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT_WIDE, Opcode.MOVE_RESULT_WIDE
Opcode.INVOKE_VIRTUAL, ),
Opcode.MOVE_RESULT reference = { "invalidate" }
)
) )