mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-09 19:14:37 +02:00
chore: lint code
This commit is contained in:
parent
6b891d9737
commit
ba693530d2
@ -202,7 +202,8 @@ object VideoInformationPatch : BytecodePatch(
|
|||||||
playerConstructorMethod =
|
playerConstructorMethod =
|
||||||
it.mutableClass.methods.first { method -> MethodUtil.isConstructor(method) }
|
it.mutableClass.methods.first { method -> MethodUtil.isConstructor(method) }
|
||||||
|
|
||||||
playerConstructorInsertIndex = playerConstructorMethod.indexOfFirstInstructionOrThrow {
|
playerConstructorInsertIndex =
|
||||||
|
playerConstructorMethod.indexOfFirstInstructionOrThrow {
|
||||||
opcode == Opcode.INVOKE_DIRECT && getReference<MethodReference>()?.name == "<init>"
|
opcode == Opcode.INVOKE_DIRECT && getReference<MethodReference>()?.name == "<init>"
|
||||||
} + 1
|
} + 1
|
||||||
|
|
||||||
@ -211,7 +212,10 @@ object VideoInformationPatch : BytecodePatch(
|
|||||||
|
|
||||||
seekSourceEnumType = parameterTypes[1].toString()
|
seekSourceEnumType = parameterTypes[1].toString()
|
||||||
seekSourceMethodName = name
|
seekSourceMethodName = name
|
||||||
seekRelativeSourceMethodName = SeekRelativeFingerprint.alsoResolve(context, VideoEndFingerprint).mutableMethod.name
|
seekRelativeSourceMethodName = SeekRelativeFingerprint.alsoResolve(
|
||||||
|
context,
|
||||||
|
VideoEndFingerprint
|
||||||
|
).mutableMethod.name
|
||||||
|
|
||||||
// Create integrations interface methods.
|
// Create integrations interface methods.
|
||||||
addSeekInterfaceMethods(
|
addSeekInterfaceMethods(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user