fix(YouTube Music/Player components): patches do not apply properly in certain versions

This commit is contained in:
inotia00
2024-10-06 22:19:40 +09:00
parent 98a1cb3ee4
commit a4227aecc9

View File

@ -11,7 +11,9 @@ import com.android.tools.smali.dexlib2.iface.reference.MethodReference
internal object EngagementPanelHeightFingerprint : MethodFingerprint(
returnType = "L",
accessFlags = AccessFlags.PUBLIC or AccessFlags.FINAL,
// In YouTube Music 7.21.50+, there are two methods with similar structure, so this Opcode pattern must be used.
opcodes = listOf(
Opcode.IGET_OBJECT,
Opcode.IGET_OBJECT,
Opcode.INVOKE_VIRTUAL,
Opcode.MOVE_RESULT,