Skip to content

Commit e790cfb

Browse files
author
LisoUseInAIKyrios
authored
fix(YouTube): Remove old app targets that are no longer supported by YouTube (#5192)
1 parent a54d408 commit e790cfb

File tree

60 files changed

+18
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+18
-131
lines changed

extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/VersionCheckPatch.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ private static boolean isVersionOrGreater(String version) {
77
return Utils.getAppVersionName().compareTo(version) >= 0;
88
}
99

10+
@Deprecated
1011
public static final boolean IS_19_17_OR_GREATER = isVersionOrGreater("19.17.00");
12+
@Deprecated
1113
public static final boolean IS_19_20_OR_GREATER = isVersionOrGreater("19.20.00");
14+
@Deprecated
1215
public static final boolean IS_19_21_OR_GREATER = isVersionOrGreater("19.21.00");
16+
@Deprecated
1317
public static final boolean IS_19_26_OR_GREATER = isVersionOrGreater("19.26.00");
18+
@Deprecated
1419
public static final boolean IS_19_29_OR_GREATER = isVersionOrGreater("19.29.00");
20+
@Deprecated
1521
public static final boolean IS_19_34_OR_GREATER = isVersionOrGreater("19.34.00");
1622
public static final boolean IS_19_46_OR_GREATER = isVersionOrGreater("19.46.00");
1723
}

patches/src/main/kotlin/app/revanced/patches/youtube/ad/general/HideAdsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ val hideAdsPatch = bytecodePatch(
7777

7878
compatibleWith(
7979
"com.google.android.youtube"(
80-
"19.16.39",
81-
"19.25.37",
8280
"19.34.42",
8381
"19.43.41",
8482
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/ad/getpremium/HideGetPremiumPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ val hideGetPremiumPatch = bytecodePatch(
2525

2626
compatibleWith(
2727
"com.google.android.youtube"(
28-
"19.16.39",
29-
"19.25.37",
3028
"19.34.42",
3129
"19.43.41",
3230
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/ad/video/VideoAdsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ val videoAdsPatch = bytecodePatch(
2323

2424
compatibleWith(
2525
"com.google.android.youtube"(
26-
"19.16.39",
27-
"19.25.37",
2826
"19.34.42",
2927
"19.43.41",
3028
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/copyvideourl/CopyVideoUrlPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ val copyVideoUrlPatch = bytecodePatch(
5353

5454
compatibleWith(
5555
"com.google.android.youtube"(
56-
"19.16.39",
57-
"19.25.37",
5856
"19.34.42",
5957
"19.43.41",
6058
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/dialog/RemoveViewerDiscretionDialogPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ val removeViewerDiscretionDialogPatch = bytecodePatch(
2424

2525
compatibleWith(
2626
"com.google.android.youtube"(
27-
"19.16.39",
28-
"19.25.37",
2927
"19.34.42",
3028
"19.43.41",
3129
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/downloads/DownloadsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ val downloadsPatch = bytecodePatch(
7272

7373
compatibleWith(
7474
"com.google.android.youtube"(
75-
"19.16.39",
76-
"19.25.37",
7775
"19.34.42",
7876
"19.43.41",
7977
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/SeekbarPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ val seekbarPatch = bytecodePatch(
2020

2121
compatibleWith(
2222
"com.google.android.youtube"(
23-
"19.16.39",
24-
"19.25.37",
2523
"19.34.42",
2624
"19.43.41",
2725
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/SeekbarThumbnailsPatch.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ private const val EXTENSION_CLASS_DESCRIPTOR =
1818
"Lapp/revanced/extension/youtube/patches/SeekbarThumbnailsPatch;"
1919

2020
val seekbarThumbnailsPatch = bytecodePatch(
21-
description = "Adds an option to use high quality fullscreen seekbar thumbnails. " +
22-
"Patching 19.16.39 adds an option to restore old seekbar thumbnails.",
21+
description = "Adds an option to use high quality fullscreen seekbar thumbnails."
2322
) {
2423
dependsOn(
2524
sharedExtensionPatch,

patches/src/main/kotlin/app/revanced/patches/youtube/interaction/swipecontrols/SwipeControlsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ val swipeControlsPatch = bytecodePatch(
8888

8989
compatibleWith(
9090
"com.google.android.youtube"(
91-
"19.16.39",
92-
"19.25.37",
9391
"19.34.42",
9492
"19.43.41",
9593
"19.47.53",

0 commit comments

Comments
 (0)