fix(YouTube): Remove old app targets that are no longer supported by YouTube (#5192)
This commit is contained in:

committed by
GitHub

parent
176e603c23
commit
c9e54e1d36
@ -7,11 +7,17 @@ public class VersionCheckPatch {
|
|||||||
return Utils.getAppVersionName().compareTo(version) >= 0;
|
return Utils.getAppVersionName().compareTo(version) >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_17_OR_GREATER = isVersionOrGreater("19.17.00");
|
public static final boolean IS_19_17_OR_GREATER = isVersionOrGreater("19.17.00");
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_20_OR_GREATER = isVersionOrGreater("19.20.00");
|
public static final boolean IS_19_20_OR_GREATER = isVersionOrGreater("19.20.00");
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_21_OR_GREATER = isVersionOrGreater("19.21.00");
|
public static final boolean IS_19_21_OR_GREATER = isVersionOrGreater("19.21.00");
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_26_OR_GREATER = isVersionOrGreater("19.26.00");
|
public static final boolean IS_19_26_OR_GREATER = isVersionOrGreater("19.26.00");
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_29_OR_GREATER = isVersionOrGreater("19.29.00");
|
public static final boolean IS_19_29_OR_GREATER = isVersionOrGreater("19.29.00");
|
||||||
|
@Deprecated
|
||||||
public static final boolean IS_19_34_OR_GREATER = isVersionOrGreater("19.34.00");
|
public static final boolean IS_19_34_OR_GREATER = isVersionOrGreater("19.34.00");
|
||||||
public static final boolean IS_19_46_OR_GREATER = isVersionOrGreater("19.46.00");
|
public static final boolean IS_19_46_OR_GREATER = isVersionOrGreater("19.46.00");
|
||||||
}
|
}
|
||||||
|
@ -77,8 +77,6 @@ val hideAdsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -25,8 +25,6 @@ val hideGetPremiumPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -23,8 +23,6 @@ val videoAdsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -53,8 +53,6 @@ val copyVideoUrlPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -24,8 +24,6 @@ val removeViewerDiscretionDialogPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -72,8 +72,6 @@ val downloadsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -20,8 +20,6 @@ val seekbarPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -18,8 +18,7 @@ private const val EXTENSION_CLASS_DESCRIPTOR =
|
|||||||
"Lapp/revanced/extension/youtube/patches/SeekbarThumbnailsPatch;"
|
"Lapp/revanced/extension/youtube/patches/SeekbarThumbnailsPatch;"
|
||||||
|
|
||||||
val seekbarThumbnailsPatch = bytecodePatch(
|
val seekbarThumbnailsPatch = bytecodePatch(
|
||||||
description = "Adds an option to use high quality fullscreen seekbar thumbnails. " +
|
description = "Adds an option to use high quality fullscreen seekbar thumbnails."
|
||||||
"Patching 19.16.39 adds an option to restore old seekbar thumbnails.",
|
|
||||||
) {
|
) {
|
||||||
dependsOn(
|
dependsOn(
|
||||||
sharedExtensionPatch,
|
sharedExtensionPatch,
|
||||||
|
@ -88,8 +88,6 @@ val swipeControlsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -24,8 +24,6 @@ val autoCaptionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -43,8 +43,6 @@ val customBrandingPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -41,8 +41,6 @@ val changeHeaderPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -22,8 +22,6 @@ val hideButtonsPatch = resourcePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -40,8 +40,6 @@ val navigationButtonsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -58,8 +58,6 @@ val hidePlayerOverlayButtonsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -33,8 +33,6 @@ val changeFormFactorPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -59,8 +59,6 @@ val hideEndscreenCardsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -31,8 +31,6 @@ val hideEndScreenSuggestedVideoPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -29,8 +29,6 @@ val disableFullscreenAmbientModePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -125,8 +125,6 @@ val hideLayoutComponentsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -57,8 +57,6 @@ val hideInfoCardsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -24,8 +24,6 @@ val hidePlayerFlyoutMenuPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -48,8 +48,6 @@ val hideRelatedVideoOverlayPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -29,8 +29,6 @@ val disableRollingNumberAnimationPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -170,8 +170,6 @@ val hideShortsComponentsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -21,8 +21,6 @@ val hideTimestampPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -153,22 +153,6 @@ val miniplayerPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39", // First with modern miniplayers.
|
|
||||||
// 19.17.41 // Works without issues, but no reason to recommend over 19.16.
|
|
||||||
// 19.18.41 // Works without issues, but no reason to recommend over 19.16.
|
|
||||||
// 19.19.39 // Last bug free version with smaller Modern 1 miniplayer, but no reason to recommend over 19.16.
|
|
||||||
// 19.20.35 // Cannot swipe to expand.
|
|
||||||
// 19.21.40 // Cannot swipe to expand.
|
|
||||||
// 19.22.43 // Cannot swipe to expand.
|
|
||||||
// 19.23.40 // First with Modern 1 drag and drop, Cannot swipe to expand.
|
|
||||||
// 19.24.45 // First with larger Modern 1, Cannot swipe to expand.
|
|
||||||
"19.25.37", // First with double tap, last with skip forward/back buttons, last with swipe to expand/close, and last before double tap to expand seems to be required.
|
|
||||||
// 19.26.42 // Modern 1 Pause/play button are always hidden. Unusable.
|
|
||||||
// 19.28.42 // First with custom miniplayer size, screen flickers when swiping to maximize Modern 1. Swipe to close miniplayer is broken.
|
|
||||||
// 19.29.42 // All modern players are broken and ignore tapping the miniplayer video.
|
|
||||||
// 19.30.39 // Modern 3 is less broken when double tap expand is enabled, but cannot swipe to expand when double tap is off.
|
|
||||||
// 19.31.36 // All Modern 1 buttons are missing. Unusable.
|
|
||||||
// 19.32.36 // 19.32+ and beyond all work without issues.
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -21,8 +21,6 @@ val playerPopupPanelsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -21,8 +21,6 @@ internal val exitFullscreenPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -52,8 +52,6 @@ val customPlayerOverlayOpacityPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -61,8 +61,6 @@ val returnYouTubeDislikePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -66,8 +66,6 @@ val wideSearchbarPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -44,8 +44,6 @@ val shortsAutoplayPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -64,8 +64,6 @@ val openShortsInRegularPlayerPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -126,8 +126,6 @@ val sponsorBlockPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -58,8 +58,6 @@ val spoofAppVersionPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -32,8 +32,6 @@ val changeStartPagePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -34,8 +34,6 @@ val disableResumingShortsOnStartupPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -204,8 +204,6 @@ val themePatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -33,8 +33,6 @@ val alternativeThumbnailsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -27,8 +27,6 @@ val bypassImageRegionRestrictionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -23,8 +23,6 @@ val announcementsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -24,8 +24,6 @@ val autoRepeatPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -51,8 +51,6 @@ val backgroundPlaybackPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -35,8 +35,6 @@ val enableDebuggingPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -24,8 +24,6 @@ val spoofDeviceDimensionsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -21,8 +21,6 @@ val checkWatchHistoryDomainNameResolutionPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -35,8 +35,6 @@ val gmsCoreSupportPatch = gmsCoreSupportPatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
YOUTUBE_PACKAGE_NAME(
|
YOUTUBE_PACKAGE_NAME(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -26,8 +26,6 @@ val disableHapticFeedbackPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -32,8 +32,6 @@ val bypassURLRedirectsPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -41,8 +41,6 @@ val openLinksExternallyPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -5,29 +5,37 @@ package app.revanced.patches.youtube.misc.playservice
|
|||||||
import app.revanced.patcher.patch.resourcePatch
|
import app.revanced.patcher.patch.resourcePatch
|
||||||
import app.revanced.util.findElementByAttributeValueOrThrow
|
import app.revanced.util.findElementByAttributeValueOrThrow
|
||||||
|
|
||||||
@Deprecated("19.16.39 is the lowest supported version")
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_03_or_greater = false
|
var is_19_03_or_greater = false
|
||||||
private set
|
private set
|
||||||
@Deprecated("19.16.39 is the lowest supported version")
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_04_or_greater = false
|
var is_19_04_or_greater = false
|
||||||
private set
|
private set
|
||||||
@Deprecated("19.16.39 is the lowest supported version")
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_16_or_greater = false
|
var is_19_16_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_17_or_greater = false
|
var is_19_17_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_18_or_greater = false
|
var is_19_18_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_23_or_greater = false
|
var is_19_23_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_25_or_greater = false
|
var is_19_25_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_26_or_greater = false
|
var is_19_26_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_29_or_greater = false
|
var is_19_29_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_32_or_greater = false
|
var is_19_32_or_greater = false
|
||||||
private set
|
private set
|
||||||
|
@Deprecated("19.34.42 is the lowest supported version")
|
||||||
var is_19_33_or_greater = false
|
var is_19_33_or_greater = false
|
||||||
private set
|
private set
|
||||||
var is_19_34_or_greater = false
|
var is_19_34_or_greater = false
|
||||||
|
@ -30,8 +30,6 @@ val removeTrackingQueryParameterPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -17,8 +17,6 @@ import app.revanced.patches.youtube.misc.settings.settingsPatch
|
|||||||
val spoofVideoStreamsPatch = spoofVideoStreamsPatch({
|
val spoofVideoStreamsPatch = spoofVideoStreamsPatch({
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -41,8 +41,6 @@ val forceOriginalAudioPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -28,8 +28,6 @@ val disableHdrPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -23,8 +23,6 @@ val videoQualityPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
@ -28,8 +28,6 @@ val playbackSpeedPatch = bytecodePatch(
|
|||||||
|
|
||||||
compatibleWith(
|
compatibleWith(
|
||||||
"com.google.android.youtube"(
|
"com.google.android.youtube"(
|
||||||
"19.16.39",
|
|
||||||
"19.25.37",
|
|
||||||
"19.34.42",
|
"19.34.42",
|
||||||
"19.43.41",
|
"19.43.41",
|
||||||
"19.47.53",
|
"19.47.53",
|
||||||
|
Reference in New Issue
Block a user