mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-29 13:20:19 +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
|
||||
@ -172,6 +167,11 @@ class SponsorBlockBytecodePatch : BytecodePatch(
|
||||
}
|
||||
} ?: return PlayerControllerFingerprint.toErrorResult()
|
||||
|
||||
/*
|
||||
* Inject VideoIdPatch
|
||||
*/
|
||||
LegacyVideoIdPatch.injectCall("$INTEGRATIONS_PLAYER_CONTROLLER_CLASS_DESCRIPTOR->setCurrentVideoId(Ljava/lang/String;)V")
|
||||
|
||||
context.injectInit("FirstRun", "initializationSB")
|
||||
context.updatePatchStatus("SponsorBlock")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user