From 234695dd7012ad2cd0e976563fa47992ba804876 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Tue, 31 Dec 2024 22:07:24 +0900 Subject: [PATCH] bump 5.2.1-dev.1 --- README.md | 8 ++++---- gradle.properties | 2 +- patches.json | 17 +++++++++-------- patches/api/patches.api | 6 ++++++ 4 files changed, 20 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 1365d9be0..dcc4825c8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Ambient mode control` | Adds options to disable Ambient mode and to bypass Ambient mode restrictions. | 18.29.38 ~ 19.44.39 | | `Bypass image region restrictions` | Adds an option to use a different host for static images, so that images blocked in some countries can be received. | 18.29.38 ~ 19.44.39 | | `Change player flyout menu toggles` | Adds an option to use text toggles instead of switch toggles within the additional settings menu. | 18.29.38 ~ 19.44.39 | -| `Change share sheet` | Add option to change from in-app share sheet to system share sheet. | 18.29.38 ~ 19.44.39 | +| `Change share sheet` | Adds an option to change the in-app share sheet to the system share sheet. | 18.29.38 ~ 19.44.39 | | `Change start page` | Adds an option to set which page the app opens in instead of the homepage. | 18.29.38 ~ 19.44.39 | | `Custom Shorts action buttons` | Changes, at compile time, the icon of the action buttons of the Shorts player. | 18.29.38 ~ 19.44.39 | | `Custom branding icon for YouTube` | Changes the YouTube app icon to the icon specified in patch options. | 18.29.38 ~ 19.44.39 | @@ -46,7 +46,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Hide layout components` | Adds options to hide general layout components. | 18.29.38 ~ 19.44.39 | | `Hide player buttons` | Adds options to hide buttons in the video player. | 18.29.38 ~ 19.44.39 | | `Hide player flyout menu` | Adds options to hide player flyout menu components. | 18.29.38 ~ 19.44.39 | -| `Hide shortcuts` | Remove, at compile time, the app shortcuts that appears when app icon is long pressed. | 18.29.38 ~ 19.44.39 | +| `Hide shortcuts` | Remove, at compile time, the app shortcuts that appears when the app icon is long pressed. | 18.29.38 ~ 19.44.39 | | `Hook YouTube Music actions` | Adds support for opening music in RVX Music using the in-app YouTube Music button. | 18.29.38 ~ 19.44.39 | | `Hook download actions` | Adds support to download videos with an external downloader app using the in-app download button. | 18.29.38 ~ 19.44.39 | | `Layout switch` | Adds an option to spoof the dpi in order to use a tablet or phone layout. | 18.29.38 ~ 19.44.39 | @@ -68,7 +68,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Spoof streaming data` | Adds options to spoof the streaming data to allow playback. | 18.29.38 ~ 19.44.39 | | `Swipe controls` | Adds options for controlling volume and brightness with swiping, and whether to enter fullscreen when swiping down below the player. | 18.29.38 ~ 19.44.39 | | `Theme` | Changes the app's theme to the values specified in patch options. | 18.29.38 ~ 19.44.39 | -| `Toolbar components` | Adds options to hide or change components located on the toolbar, such as toolbar buttons, search bar, and header. | 18.29.38 ~ 19.44.39 | +| `Toolbar components` | Adds options to hide or change components located on the toolbar, such as the search bar, header, and toolbar buttons. | 18.29.38 ~ 19.44.39 | | `Translations for YouTube` | Add translations or remove string resources. | 18.29.38 ~ 19.44.39 | | `Video playback` | Adds options to customize settings related to video playback, such as default video quality and playback speed. | 18.29.38 ~ 19.44.39 | | `Visual preferences icons for YouTube` | Adds icons to specific preferences in the settings. | 18.29.38 ~ 19.44.39 | @@ -84,7 +84,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Bitrate default value` | Sets the audio quality to 'Always High' when you first install the app. | 6.20.51 ~ 7.25.53 | | `Bypass image region restrictions` | Adds an option to use a different host for static images, so that images blocked in some countries can be received. | 6.20.51 ~ 7.25.53 | | `Certificate spoof` | Enables YouTube Music to work with Android Auto by spoofing the YouTube Music certificate. | 6.20.51 ~ 7.25.53 | -| `Change share sheet` | Add option to change from in-app share sheet to system share sheet. | 6.20.51 ~ 7.25.53 | +| `Change share sheet` | Adds an option to change the in-app share sheet to the system share sheet. | 6.20.51 ~ 7.25.53 | | `Change start page` | Adds an option to set which page the app opens in instead of the homepage. | 6.20.51 ~ 7.25.53 | | `Custom branding icon for YouTube Music` | Changes the YouTube Music app icon to the icon specified in patch options. | 6.20.51 ~ 7.25.53 | | `Custom branding name for YouTube Music` | Renames the YouTube Music app to the name specified in patch options. | 6.20.51 ~ 7.25.53 | diff --git a/gradle.properties b/gradle.properties index 9013491db..2c56af065 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.1.3 +version = 5.2.1-dev.1 diff --git a/patches.json b/patches.json index eac961c94..297f13633 100644 --- a/patches.json +++ b/patches.json @@ -186,7 +186,7 @@ }, { "name": "Change share sheet", - "description": "Add option to change from in-app share sheet to system share sheet.", + "description": "Adds an option to change the in-app share sheet to the system share sheet.", "use": true, "dependencies": [ "Settings for YouTube Music", @@ -207,7 +207,7 @@ }, { "name": "Change share sheet", - "description": "Add option to change from in-app share sheet to system share sheet.", + "description": "Adds an option to change the in-app share sheet to the system share sheet.", "use": true, "dependencies": [ "Settings for YouTube", @@ -364,7 +364,7 @@ { "key": "changeSplashIcon", "title": "Change splash icons", - "description": "Apply the custom branding icon to the splash screen.", + "description": "Apply the custom branding icon to the splash screen. Supports from YouTube 18.29.38 to YouTube 19.16.39.", "required": true, "type": "kotlin.Boolean", "default": true, @@ -1619,7 +1619,7 @@ }, { "name": "Hide shortcuts", - "description": "Remove, at compile time, the app shortcuts that appears when app icon is long pressed.", + "description": "Remove, at compile time, the app shortcuts that appears when the app icon is long pressed.", "use": false, "dependencies": [ "Settings for YouTube", @@ -1861,7 +1861,8 @@ "BytecodePatch", "ResourcePatch", "ResourcePatch", - "Settings for YouTube" + "Settings for YouTube", + "ResourcePatch" ], "compatiblePackages": { "com.google.android.youtube": [ @@ -1891,7 +1892,7 @@ { "key": "bottomMargin", "title": "Bottom margin", - "description": "The bottom margin for the overlay buttons and timestamp.", + "description": "The bottom margin for the overlay buttons and timestamp. Supports from YouTube 18.29.38 to YouTube 19.16.39.", "required": true, "type": "kotlin.String", "default": "2.5dip", @@ -1904,7 +1905,7 @@ { "key": "widerButtonsSpace", "title": "Wider between-buttons space", - "description": "Prevent adjacent button presses by increasing the horizontal spacing between buttons.", + "description": "Prevent adjacent button presses by increasing the horizontal spacing between buttons. Supports from YouTube 18.29.38 to YouTube 19.16.39.", "required": true, "type": "kotlin.Boolean", "default": false, @@ -2651,7 +2652,7 @@ }, { "name": "Toolbar components", - "description": "Adds options to hide or change components located on the toolbar, such as toolbar buttons, search bar, and header.", + "description": "Adds options to hide or change components located on the toolbar, such as the search bar, header, and toolbar buttons.", "use": true, "dependencies": [ "BytecodePatch", diff --git a/patches/api/patches.api b/patches/api/patches.api index d19702041..ee38b4f51 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -194,6 +194,8 @@ public final class app/revanced/patches/music/utils/playservice/VersionCheckPatc public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdPatchKt { public static final fun getAccountSwitcherAccessibility ()J + public static final fun getActionBarLogo ()J + public static final fun getActionBarLogoRingo2 ()J public static final fun getBottomSheetRecyclerView ()J public static final fun getButtonContainer ()J public static final fun getButtonIconPaddingMedium ()J @@ -233,6 +235,8 @@ public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdP public static final fun getTouchOutside ()J public static final fun getTrimSilenceSwitch ()J public static final fun getVarispeedUnavailableTitle ()J + public static final fun getYtmLogo ()J + public static final fun getYtmLogoRingo2 ()J public static final fun isTablet ()J } @@ -1150,6 +1154,7 @@ public final class app/revanced/util/BytecodeUtilsKt { public static final fun or (Lcom/android/tools/smali/dexlib2/AccessFlags;I)I public static final fun or (Lcom/android/tools/smali/dexlib2/AccessFlags;Lcom/android/tools/smali/dexlib2/AccessFlags;)I public static final fun parametersEqual (Ljava/lang/Iterable;Ljava/lang/Iterable;)Z + public static final fun replaceLiteralInstructionCall (Lapp/revanced/patcher/patch/BytecodePatchContext;JJ)V public static final fun replaceLiteralInstructionCall (Lapp/revanced/patcher/patch/BytecodePatchContext;JLjava/lang/String;)V public static final fun returnEarly (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Z)V public static synthetic fun returnEarly$default (Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;ZILjava/lang/Object;)V @@ -1178,6 +1183,7 @@ public final class app/revanced/util/ResourceUtilsKt { public static final fun copyXmlNode (Lapp/revanced/patcher/patch/ResourcePatchContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lkotlin/Unit; public static final fun copyXmlNode (Ljava/lang/String;Lapp/revanced/patcher/util/Document;Lapp/revanced/patcher/util/Document;)Ljava/lang/AutoCloseable; public static final fun doRecursively (Lorg/w3c/dom/Node;Lkotlin/jvm/functions/Function1;)V + public static final fun getBooleanOptionValue (Lapp/revanced/patcher/patch/Patch;Ljava/lang/String;)Lapp/revanced/patcher/patch/Option; public static final fun getResourceGroup (Ljava/util/List;[Ljava/lang/String;)Ljava/util/List; public static final fun getStringOptionValue (Lapp/revanced/patcher/patch/Patch;Ljava/lang/String;)Lapp/revanced/patcher/patch/Option; public static final fun insertNode (Lorg/w3c/dom/Node;Ljava/lang/String;Lorg/w3c/dom/Node;Lkotlin/jvm/functions/Function1;)V