mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-30 13:50:21 +02:00
fix(sponsorblock): video-id-hook should be applied last
This commit is contained in:
parent
b9921478a0
commit
b76dfd8097
@ -65,11 +65,6 @@ class SponsorBlockBytecodePatch : BytecodePatch(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Inject VideoIdPatch
|
|
||||||
*/
|
|
||||||
LegacyVideoIdPatch.injectCall("$INTEGRATIONS_PLAYER_CONTROLLER_CLASS_DESCRIPTOR->setCurrentVideoId(Ljava/lang/String;)V")
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Seekbar drawing
|
* Seekbar drawing
|
||||||
@ -172,6 +167,11 @@ class SponsorBlockBytecodePatch : BytecodePatch(
|
|||||||
}
|
}
|
||||||
} ?: return PlayerControllerFingerprint.toErrorResult()
|
} ?: return PlayerControllerFingerprint.toErrorResult()
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Inject VideoIdPatch
|
||||||
|
*/
|
||||||
|
LegacyVideoIdPatch.injectCall("$INTEGRATIONS_PLAYER_CONTROLLER_CLASS_DESCRIPTOR->setCurrentVideoId(Ljava/lang/String;)V")
|
||||||
|
|
||||||
context.injectInit("FirstRun", "initializationSB")
|
context.injectInit("FirstRun", "initializationSB")
|
||||||
context.updatePatchStatus("SponsorBlock")
|
context.updatePatchStatus("SponsorBlock")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user