mirror of
https://github.com/revanced/revanced-patches
synced 2025-01-08 13:55:51 +01:00
refactor: remove unused parameter
This commit is contained in:
parent
38a586f645
commit
f1edfdf974
@ -26,13 +26,13 @@ class CustomVideoBufferPatch : BytecodePatch(
|
|||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
override fun execute(data: BytecodeData): PatchResult {
|
override fun execute(data: BytecodeData): PatchResult {
|
||||||
execMaxBuffer(data)
|
execMaxBuffer()
|
||||||
execPlaybackBuffer(data)
|
execPlaybackBuffer(data)
|
||||||
execReBuffer(data)
|
execReBuffer(data)
|
||||||
return PatchResultSuccess()
|
return PatchResultSuccess()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun execMaxBuffer(data: BytecodeData) {
|
private fun execMaxBuffer() {
|
||||||
val result = MaxBufferFingerprint.result!!
|
val result = MaxBufferFingerprint.result!!
|
||||||
val method = result.mutableMethod
|
val method = result.mutableMethod
|
||||||
val index = result.patternScanResult!!.endIndex - 1
|
val index = result.patternScanResult!!.endIndex - 1
|
||||||
|
Loading…
Reference in New Issue
Block a user