From fae60e63df09489d63962376aa47e99c5b23e052 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:27:14 +0900 Subject: [PATCH] bump 5.4.1-dev.6 --- README.md | 1 + gradle.properties | 2 +- patches.json | 20 ++++++++++++++++++++ patches/api/patches.api | 12 ++++++++---- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9ba1bbb76..3bcf33bbb 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Disable forced auto audio tracks` | Adds an option to disable audio tracks from being automatically enabled. | 18.29.38 ~ 19.44.39 | | `Disable forced auto captions` | Adds an option to disable captions from being automatically enabled. | 18.29.38 ~ 19.44.39 | | `Disable haptic feedback` | Adds options to disable haptic feedback when swiping in the video player. | 18.29.38 ~ 19.44.39 | +| `Disable resuming Miniplayer on startup` | Adds an option to disable the Miniplayer 'Continue watching' from resuming on app startup. | 18.29.38 ~ 19.44.39 | | `Disable resuming Shorts on startup` | Adds an option to disable the Shorts player from resuming on app startup when Shorts were last being watched. | 18.29.38 ~ 19.44.39 | | `Disable splash animation` | Adds an option to disable the splash animation on app startup. | 18.29.38 ~ 19.44.39 | | `Enable OPUS codec` | Adds an option to enable the OPUS audio codec if the player response includes it. | 18.29.38 ~ 19.44.39 | diff --git a/gradle.properties b/gradle.properties index 3d1fa6e79..0a5239545 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-dev.5 +version = 5.4.1-dev.6 diff --git a/patches.json b/patches.json index d9cf59bde..01e19b959 100644 --- a/patches.json +++ b/patches.json @@ -952,6 +952,26 @@ }, "options": [] }, + { + "name": "Disable resuming Miniplayer on startup", + "description": "Adds an option to disable the Miniplayer \u0027Continue watching\u0027 from resuming on app startup.", + "use": true, + "dependencies": [ + "Settings for YouTube" + ], + "compatiblePackages": { + "com.google.android.youtube": [ + "18.29.38", + "18.33.40", + "18.38.44", + "18.48.39", + "19.05.36", + "19.16.39", + "19.44.39" + ] + }, + "options": [] + }, { "name": "Disable resuming Shorts on startup", "description": "Adds an option to disable the Shorts player from resuming on app startup when Shorts were last being watched.", diff --git a/patches/api/patches.api b/patches/api/patches.api index 5d7abb91e..371bc0a1a 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -645,10 +645,6 @@ public final class app/revanced/patches/youtube/general/loadingscreen/GradientLo public static final fun getGradientLoadingScreenPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } -public final class app/revanced/patches/youtube/general/miniplayer/MiniplayerPatchKt { - public static final fun getMiniplayerPatch ()Lapp/revanced/patcher/patch/BytecodePatch; -} - public final class app/revanced/patches/youtube/general/music/YouTubeMusicActionsPatchKt { public static final fun getYoutubeMusicActionsPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -810,6 +806,14 @@ public final class app/revanced/patches/youtube/player/hapticfeedback/HapticFeed public static final fun getHapticFeedbackPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } +public final class app/revanced/patches/youtube/player/miniplayer/general/MiniplayerPatchKt { + public static final fun getMiniplayerPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + +public final class app/revanced/patches/youtube/player/miniplayer/startup/ResumingMiniplayerOnStartupPatchKt { + public static final fun getResumingMiniplayerOnStartupPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/youtube/player/overlaybuttons/OverlayButtonsPatchKt { public static final fun getOverlayButtonsPatch ()Lapp/revanced/patcher/patch/ResourcePatch; }