mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-05-18 15:27:19 +02:00
feat(youtube/spoof-player-parameter): changed to selectable option for MicroG (ROOT) users https://github.com/inotia00/ReVanced_Extended/issues/1110
This commit is contained in:
parent
294f8eb36b
commit
a5c8ce862d
@ -15,6 +15,7 @@ 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.patcher.patch.annotations.Patch
|
||||
import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod
|
||||
import app.revanced.patches.youtube.utils.annotations.YouTubeCompatibility
|
||||
import app.revanced.patches.youtube.utils.fix.parameter.fingerprints.BadResponseFingerprint
|
||||
@ -31,6 +32,7 @@ import app.revanced.util.integrations.Constants.MISC_PATH
|
||||
import org.jf.dexlib2.iface.instruction.OneRegisterInstruction
|
||||
import org.jf.dexlib2.iface.instruction.ReferenceInstruction
|
||||
|
||||
@Patch
|
||||
@Name("spoof-player-parameters")
|
||||
@Description("Spoofs player parameters to prevent playback issues.")
|
||||
@DependsOn(
|
||||
|
@ -38,7 +38,7 @@ class MicroGPatch : ResourcePatch {
|
||||
|
||||
val packageName = PackageNamePatch.YouTubePackageName!!
|
||||
|
||||
/*
|
||||
/**
|
||||
* Add settings
|
||||
*/
|
||||
SettingsPatch.addPreference(
|
||||
|
Loading…
x
Reference in New Issue
Block a user