fix(youtube/player-type-hook): shared-resource-id patch is missing from dependencies https://github.com/inotia00/ReVanced_Extended/issues/1091

This commit is contained in:
inotia00 2023-07-09 08:20:43 +09:00
parent 4bd27c0cfd
commit cbe327deb6

View File

@ -12,15 +12,18 @@ import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint.Companion.
import app.revanced.patcher.patch.BytecodePatch
import app.revanced.patcher.patch.PatchResult
import app.revanced.patcher.patch.PatchResultSuccess
import app.revanced.patcher.patch.annotations.DependsOn
import app.revanced.patches.youtube.utils.annotations.YouTubeCompatibility
import app.revanced.patches.youtube.utils.fingerprints.YouTubeControlsOverlayFingerprint
import app.revanced.patches.youtube.utils.playertype.fingerprint.PlayerTypeFingerprint
import app.revanced.patches.youtube.utils.playertype.fingerprint.VideoStateFingerprint
import app.revanced.patches.youtube.utils.resourceid.patch.SharedResourceIdPatch
import app.revanced.util.integrations.Constants.UTILS_PATH
import org.jf.dexlib2.iface.instruction.ReferenceInstruction
@Name("player-type-hook")
@Description("Hook to get the current player type and video playback state.")
@DependsOn([SharedResourceIdPatch::class])
@YouTubeCompatibility
@Version("0.0.1")
class PlayerTypeHookPatch : BytecodePatch(