diff --git a/README.md b/README.md index f35bdf47e..27c4befac 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Fullscreen components` | Adds options to hide or change components related to fullscreen. | 18.29.38 ~ 19.44.39 | | `GmsCore support` | Allows patched Google apps to run without root and under a different package name by using GmsCore instead of Google Play Services. | 18.29.38 ~ 19.44.39 | | `Hide Shorts dimming` | Removes, at compile time, the dimming effect at the top and bottom of Shorts videos. | 18.29.38 ~ 19.44.39 | +| `Hide accessibility controls dialog` | Removes, at compile time, accessibility controls dialog 'Turn on accessibility controls for the video player?'. | 18.29.38 ~ 19.44.39 | | `Hide action buttons` | Adds options to hide action buttons under videos. | 18.29.38 ~ 19.44.39 | | `Hide ads` | Adds options to hide ads. | 18.29.38 ~ 19.44.39 | | `Hide comments components` | Adds options to hide components related to comments. | 18.29.38 ~ 19.44.39 | @@ -117,11 +118,12 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Sanitize sharing links` | Adds an option to sanitize sharing links by removing tracking query parameters. | 6.20.51 ~ 8.02.53 | | `Settings for YouTube Music` | Applies mandatory patches to implement ReVanced Extended settings into the application. | 6.20.51 ~ 8.02.53 | | `SponsorBlock` | Adds options to enable and configure SponsorBlock, which can skip undesired video segments, such as non-music sections. | 6.20.51 ~ 8.02.53 | -| `Spoof app version` | Adds options to spoof the YouTube Music client version. This can remove the radio mode restriction in Canadian regions or disable real-time lyrics. | 6.51.53 ~ 7.16.53 | +| `Spoof app version` | Adds options to spoof the YouTube Music client version. This can be used to restore old UI elements and features. | 6.51.53 ~ 7.16.53 | | `Spoof client` | Adds options to spoof the client to allow playback. | 6.20.51 ~ 8.02.53 | | `Translations for YouTube Music` | Add translations or remove string resources. | 6.20.51 ~ 8.02.53 | | `Video playback` | Adds options to customize settings related to video playback, such as default video quality and playback speed. | 6.20.51 ~ 8.02.53 | | `Visual preferences icons for YouTube Music` | Adds icons to specific preferences in the settings. | 6.20.51 ~ 8.02.53 | +| `Watch history` | Adds an option to change the domain of the watch history or check its status. | 6.20.51 ~ 8.02.53 | ### [📦 `com.reddit.frontpage`](https://play.google.com/store/apps/details?id=com.reddit.frontpage) diff --git a/gradle.properties b/gradle.properties index 7058caea4..a11b93b55 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.1 +version = 5.4.1-dev.2 diff --git a/patches.json b/patches.json index 8f0f599db..a9977d073 100644 --- a/patches.json +++ b/patches.json @@ -1359,6 +1359,26 @@ }, "options": [] }, + { + "name": "Hide accessibility controls dialog", + "description": "Removes, at compile time, accessibility controls dialog \u0027Turn on accessibility controls for the video player?\u0027.", + "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": "Hide account components", "description": "Adds options to hide components related to the account menu.", @@ -1445,6 +1465,7 @@ "BytecodePatch", "BytecodePatch", "Navigation bar components", + "BytecodePatch", "ResourcePatch" ], "compatiblePackages": { @@ -2401,8 +2422,11 @@ "description": "The name of the RVX settings menu.", "required": true, "type": "kotlin.String", - "default": "ReVanced Extended", - "values": null + "default": "RVX", + "values": { + "ReVanced Extended": "ReVanced Extended", + "RVX": "RVX" + } } ] }, @@ -2462,13 +2486,16 @@ } }, { - "key": "settingsLabel", + "key": "rvxSettingsLabel", "title": "RVX settings label", "description": "The name of the RVX settings menu.", "required": true, "type": "kotlin.String", - "default": "ReVanced Extended", - "values": null + "default": "RVX", + "values": { + "ReVanced Extended": "ReVanced Extended", + "RVX": "RVX" + } } ] }, @@ -2492,13 +2519,16 @@ }, "options": [ { - "key": "settingsLabel", + "key": "rvxSettingsLabel", "title": "RVX settings label", "description": "The name of the RVX settings menu.", "required": true, "type": "kotlin.String", - "default": "ReVanced Extended", - "values": null + "default": "RVX", + "values": { + "ReVanced Extended": "ReVanced Extended", + "RVX": "RVX" + } } ] }, @@ -2565,6 +2595,15 @@ "default": "8.0dip", "values": null }, + { + "key": "applyCornerRadiusToPlaylistBottomBar", + "title": "Apply corner radius to playlist bottom bar", + "description": "Whether to apply the same corner radius to the bottom bar of the playlist as the snack bar.", + "required": true, + "type": "kotlin.Boolean", + "default": false, + "values": null + }, { "key": "darkThemeBackgroundColor", "title": "Dark theme background color", @@ -2671,9 +2710,19 @@ } ] }, + { + "name": "Spoof Wi-Fi connection", + "description": "Spoofs an existing Wi-Fi connection.", + "use": false, + "dependencies": [ + "BytecodePatch" + ], + "compatiblePackages": null, + "options": [] + }, { "name": "Spoof app version", - "description": "Adds options to spoof the YouTube Music client version. This can remove the radio mode restriction in Canadian regions or disable real-time lyrics.", + "description": "Adds options to spoof the YouTube Music client version. This can be used to restore old UI elements and features.", "use": true, "dependencies": [ "BytecodePatch", @@ -3091,6 +3140,27 @@ } ] }, + { + "name": "Watch history", + "description": "Adds an option to change the domain of the watch history or check its status.", + "use": true, + "dependencies": [ + "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.02.53" + ] + }, + "options": [] + }, { "name": "Watch history", "description": "Adds an option to change the domain of the watch history or check its status.", diff --git a/patches/api/patches.api b/patches/api/patches.api index 23e897e8d..0d6d50727 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -2,6 +2,27 @@ public final class app/revanced/generator/MainKt { public static synthetic fun main ([Ljava/lang/String;)V } +public final class app/revanced/patches/all/misc/connectivity/wifi/spoof/SpoofWifiPatchKt { + public static final fun getSpoofWifiPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + +public abstract interface class app/revanced/patches/all/misc/transformation/IMethodCall { + public abstract fun getDefinedClassName ()Ljava/lang/String; + public abstract fun getMethodName ()Ljava/lang/String; + public abstract fun getMethodParams ()[Ljava/lang/String; + public abstract fun getReturnType ()Ljava/lang/String; + public abstract fun replaceInvokeVirtualWithExtension (Ljava/lang/String;Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Lcom/android/tools/smali/dexlib2/iface/instruction/formats/Instruction35c;I)V +} + +public final class app/revanced/patches/all/misc/transformation/IMethodCall$DefaultImpls { + public static fun replaceInvokeVirtualWithExtension (Lapp/revanced/patches/all/misc/transformation/IMethodCall;Ljava/lang/String;Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Lcom/android/tools/smali/dexlib2/iface/instruction/formats/Instruction35c;I)V +} + +public final class app/revanced/patches/all/misc/transformation/TransformInstructionsPatchKt { + public static final fun transformInstructionsPatch (Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Z)Lapp/revanced/patcher/patch/BytecodePatch; + public static synthetic fun transformInstructionsPatch$default (Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;ZILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/all/misc/versioncode/ChangeVersionCodePatchKt { public static final fun getChangeVersionCodePatch ()Lapp/revanced/patcher/patch/ResourcePatch; } @@ -137,6 +158,10 @@ public final class app/revanced/patches/music/misc/tracking/SanitizeUrlQueryPatc public static final fun getSanitizeUrlQueryPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } +public final class app/revanced/patches/music/misc/watchhistory/WatchHistoryPatchKt { + public static final fun getWatchHistoryPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/music/navigation/components/NavigationBarComponentsPatchKt { public static final fun getNavigationBarComponentsPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -181,6 +206,10 @@ public final class app/revanced/patches/music/utils/mainactivity/MainActivityRes public static final fun getMainActivityResolvePatch ()Lapp/revanced/patcher/patch/BytecodePatch; } +public final class app/revanced/patches/music/utils/navigation/NavigationBarHookPatchKt { + public static final fun getNavigationBarHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/music/utils/playertype/PlayerTypeHookPatchKt { public static final fun getPlayerTypeHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -544,21 +573,8 @@ public final class app/revanced/patches/shared/tracking/BaseSanitizeUrlQueryPatc public static final fun getBaseSanitizeUrlQueryPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } -public abstract interface class app/revanced/patches/shared/transformation/IMethodCall { - public abstract fun getDefinedClassName ()Ljava/lang/String; - public abstract fun getMethodName ()Ljava/lang/String; - public abstract fun getMethodParams ()[Ljava/lang/String; - public abstract fun getReturnType ()Ljava/lang/String; - public abstract fun replaceInvokeVirtualWithExtension (Ljava/lang/String;Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Lcom/android/tools/smali/dexlib2/iface/instruction/formats/Instruction35c;I)V -} - -public final class app/revanced/patches/shared/transformation/IMethodCall$DefaultImpls { - public static fun replaceInvokeVirtualWithExtension (Lapp/revanced/patches/shared/transformation/IMethodCall;Ljava/lang/String;Lapp/revanced/patcher/util/proxy/mutableTypes/MutableMethod;Lcom/android/tools/smali/dexlib2/iface/instruction/formats/Instruction35c;I)V -} - -public final class app/revanced/patches/shared/transformation/TransformInstructionsPatchKt { - public static final fun transformInstructionsPatch (Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/BytecodePatch; - public static synthetic fun transformInstructionsPatch$default (Lkotlin/jvm/functions/Function4;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatch; +public final class app/revanced/patches/shared/trackingurlhook/TrackingUrlHookPatchKt { + public static final fun getTrackingUrlHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } public final class app/revanced/patches/shared/translations/BaseTranslationsPatchKt { @@ -707,6 +723,10 @@ public final class app/revanced/patches/youtube/layout/visual/VisualPreferencesI public static final fun getVisualPreferencesIconsPatch ()Lapp/revanced/patcher/patch/ResourcePatch; } +public final class app/revanced/patches/youtube/misc/accessibility/AccessibilityPatchKt { + public static final fun getAccessibilityPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/youtube/misc/backgroundplayback/BackgroundPlaybackPatchKt { public static final fun getBackgroundPlaybackPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -1127,10 +1147,6 @@ public final class app/revanced/patches/youtube/utils/toolbar/ToolBarHookPatchKt public static final fun getToolBarHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } -public final class app/revanced/patches/youtube/utils/trackingurlhook/TrackingUrlHookPatchKt { - public static final fun getTrackingUrlHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; -} - public final class app/revanced/patches/youtube/video/information/FingerprintsKt { public static final fun indexOfPlayerResponseModelInterfaceInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I }