diff --git a/README.md b/README.md index e15af6bce..4443db281 100644 --- a/README.md +++ b/README.md @@ -93,8 +93,9 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Custom branding name for YouTube Music` | Changes the YouTube Music app name to the name specified in patch options. | 6.20.51 ~ 8.05.51 | | `Custom header for YouTube Music` | Applies a custom header in the top left corner within the app. | 6.20.51 ~ 8.05.51 | | `Dark theme` | Changes the app's dark theme to the values specified in patch options. | 6.20.51 ~ 8.05.51 | -| `Disable Cairo splash animation` | Adds an option to disable Cairo splash animation. | 7.06.54 ~ 8.02.53 | +| `Disable Cairo splash animation` | Adds an option to disable Cairo splash animation. | 7.06.54 ~ 8.05.51 | | `Disable DRC audio` | Adds an option to disable DRC (Dynamic Range Compression) audio. | 6.20.51 ~ 8.05.51 | +| `Disable QUIC protocol` | Adds an option to disable CronetEngine's QUIC protocol. | 6.20.51 ~ 8.05.51 | | `Disable dislike redirection` | Adds an option to disable redirection to the next track when clicking the Dislike button. | 6.20.51 ~ 8.05.51 | | `Disable forced auto captions` | Adds an option to disable captions from being automatically enabled. | 6.20.51 ~ 8.05.51 | | `Disable music video in album` | Adds option to redirect music videos from albums for non-premium users. | 6.20.51 ~ 8.05.51 | diff --git a/gradle.properties b/gradle.properties index b7236d61b..a9e38196d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,5 +4,5 @@ org.gradle.parallel = true android.useAndroidX = true kotlin.code.style = official kotlin.jvm.target.validation.mode = IGNORE -version = 5.4.1 +version = 5.4.2-dev.1 diff --git a/patches.json b/patches.json index 808b2b456..40a4cab5a 100644 --- a/patches.json +++ b/patches.json @@ -781,7 +781,7 @@ "7.06.54", "7.16.53", "7.25.53", - "8.02.53" + "8.05.51" ] }, "options": [] @@ -812,7 +812,29 @@ "description": "Adds an option to disable CronetEngine\u0027s QUIC protocol.", "use": true, "dependencies": [ - "Settings for YouTube" + "Settings for YouTube Music", + "BytecodePatch" + ], + "compatiblePackages": { + "com.google.android.apps.youtube.music": [ + "6.20.51", + "6.29.59", + "6.42.55", + "6.51.53", + "7.16.53", + "7.25.53", + "8.05.51" + ] + }, + "options": [] + }, + { + "name": "Disable QUIC protocol", + "description": "Adds an option to disable CronetEngine\u0027s QUIC protocol.", + "use": true, + "dependencies": [ + "Settings for YouTube", + "BytecodePatch" ], "compatiblePackages": { "com.google.android.youtube": [ @@ -1034,8 +1056,8 @@ "description": "Adds an option to enable the OPUS audio codec if the player response includes it.", "use": true, "dependencies": [ - "BytecodePatch", - "Settings for YouTube Music" + "Settings for YouTube Music", + "BytecodePatch" ], "compatiblePackages": { "com.google.android.apps.youtube.music": [ @@ -1055,8 +1077,8 @@ "description": "Adds an option to enable the OPUS audio codec if the player response includes it.", "use": true, "dependencies": [ - "BytecodePatch", - "Settings for YouTube" + "Settings for YouTube", + "BytecodePatch" ], "compatiblePackages": { "com.google.android.youtube": [ @@ -1493,7 +1515,8 @@ "Navigation bar components", "BytecodePatch", "ResourcePatch", - "ResourcePatch" + "ResourcePatch", + "BytecodePatch" ], "compatiblePackages": { "com.google.android.apps.youtube.music": [ diff --git a/patches/api/patches.api b/patches/api/patches.api index 371bc0a1a..ba327eb31 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -142,6 +142,10 @@ public final class app/revanced/patches/music/misc/drc/DrcAudioPatchKt { public static final fun getDrcAudioPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } +public final class app/revanced/patches/music/misc/quic/QUICProtocolPatchKt { + public static final fun getQuicProtocolPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/music/misc/share/ShareSheetPatchKt { public static final fun getShareSheetPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -218,8 +222,10 @@ public final class app/revanced/patches/music/utils/playservice/VersionCheckPatc public static final fun getVersionCheckPatch ()Lapp/revanced/patcher/patch/ResourcePatch; public static final fun is_6_27_or_greater ()Z public static final fun is_6_36_or_greater ()Z + public static final fun is_6_39_or_greater ()Z public static final fun is_6_42_or_greater ()Z public static final fun is_6_43_or_greater ()Z + public static final fun is_6_48_or_greater ()Z public static final fun is_7_03_or_greater ()Z public static final fun is_7_06_or_greater ()Z public static final fun is_7_13_or_greater ()Z @@ -233,6 +239,7 @@ public final class app/revanced/patches/music/utils/playservice/VersionCheckPatc public static final fun is_7_29_or_greater ()Z public static final fun is_7_33_or_greater ()Z public static final fun is_8_03_or_greater ()Z + public static final fun is_8_05_or_greater ()Z } public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdPatchKt { @@ -540,7 +547,11 @@ public final class app/revanced/patches/shared/materialyou/BaseMaterialYouPatchK } public final class app/revanced/patches/shared/opus/BaseOpusCodecsPatchKt { - public static final fun baseOpusCodecsPatch (Ljava/lang/String;)Lapp/revanced/patcher/patch/BytecodePatch; + public static final fun baseOpusCodecsPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + +public final class app/revanced/patches/shared/quic/BaseQuicProtocolPatchKt { + public static final fun baseQuicProtocolPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } public final class app/revanced/patches/shared/returnyoutubeusername/BaseReturnYouTubeUsernamePatchKt { @@ -961,8 +972,6 @@ public final class app/revanced/patches/youtube/utils/playercontrols/PlayerContr public static final fun getInitializeBottomControlButtonMethod ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod; public static final fun getInitializeTopControlButtonMethod ()Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod; public static final fun getPlayerControlsPatch ()Lapp/revanced/patcher/patch/ResourcePatch; - public static final fun hookBottomControlButton (Ljava/lang/String;)V - public static final fun hookTopControlButton (Ljava/lang/String;)V public static final fun setChangeVisibilityMethod (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;)V public static final fun setChangeVisibilityNegatedImmediatelyMethod (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;)V public static final fun setInitializeBottomControlButtonMethod (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;)V