Skip to content

Commit c9e54e1

Browse files
fix(YouTube): Remove old app targets that are no longer supported by YouTube (#5192)
1 parent 176e603 commit c9e54e1

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",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/autocaptions/AutoCaptionsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ val autoCaptionsPatch = 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/layout/branding/CustomBrandingPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ val customBrandingPatch = resourcePatch(
4343

4444
compatibleWith(
4545
"com.google.android.youtube"(
46-
"19.16.39",
47-
"19.25.37",
4846
"19.34.42",
4947
"19.43.41",
5048
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/branding/header/ChangeHeaderPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ val changeHeaderPatch = resourcePatch(
4141

4242
compatibleWith(
4343
"com.google.android.youtube"(
44-
"19.16.39",
45-
"19.25.37",
4644
"19.34.42",
4745
"19.43.41",
4846
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/buttons/action/HideButtonsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ val hideButtonsPatch = resourcePatch(
2222

2323
compatibleWith(
2424
"com.google.android.youtube"(
25-
"19.16.39",
26-
"19.25.37",
2725
"19.34.42",
2826
"19.43.41",
2927
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/buttons/navigation/NavigationButtonsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ val navigationButtonsPatch = bytecodePatch(
4040

4141
compatibleWith(
4242
"com.google.android.youtube"(
43-
"19.16.39",
44-
"19.25.37",
4543
"19.34.42",
4644
"19.43.41",
4745
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/buttons/overlay/HidePlayerOverlayButtonsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ val hidePlayerOverlayButtonsPatch = bytecodePatch(
5858

5959
compatibleWith(
6060
"com.google.android.youtube"(
61-
"19.16.39",
62-
"19.25.37",
6361
"19.34.42",
6462
"19.43.41",
6563
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/formfactor/ChangeFormFactorPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ val changeFormFactorPatch = bytecodePatch(
3333

3434
compatibleWith(
3535
"com.google.android.youtube"(
36-
"19.16.39",
37-
"19.25.37",
3836
"19.34.42",
3937
"19.43.41",
4038
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreencards/HideEndscreenCardsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ val hideEndscreenCardsPatch = bytecodePatch(
5959

6060
compatibleWith(
6161
"com.google.android.youtube"(
62-
"19.16.39",
63-
"19.25.37",
6462
"19.34.42",
6563
"19.43.41",
6664
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/endscreensuggestion/HideEndScreenSuggestedVideoPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ val hideEndScreenSuggestedVideoPatch = bytecodePatch(
3131

3232
compatibleWith(
3333
"com.google.android.youtube"(
34-
"19.16.39",
35-
"19.25.37",
3634
"19.34.42",
3735
"19.43.41",
3836
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/fullscreenambientmode/DisableFullscreenAmbientModePatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ val disableFullscreenAmbientModePatch = bytecodePatch(
2929

3030
compatibleWith(
3131
"com.google.android.youtube"(
32-
"19.16.39",
33-
"19.25.37",
3432
"19.34.42",
3533
"19.43.41",
3634
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/general/HideLayoutComponentsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ val hideLayoutComponentsPatch = bytecodePatch(
125125

126126
compatibleWith(
127127
"com.google.android.youtube"(
128-
"19.16.39",
129-
"19.25.37",
130128
"19.34.42",
131129
"19.43.41",
132130
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/infocards/HideInfoCardsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ val hideInfoCardsPatch = bytecodePatch(
5757

5858
compatibleWith(
5959
"com.google.android.youtube"(
60-
"19.16.39",
61-
"19.25.37",
6260
"19.34.42",
6361
"19.43.41",
6462
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/player/flyoutmenupanel/HidePlayerFlyoutMenuPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ val hidePlayerFlyoutMenuPatch = 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/layout/hide/relatedvideooverlay/HideRelatedVideoOverlayPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ val hideRelatedVideoOverlayPatch = bytecodePatch(
4848

4949
compatibleWith(
5050
"com.google.android.youtube"(
51-
"19.16.39",
52-
"19.25.37",
5351
"19.34.42",
5452
"19.43.41",
5553
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/rollingnumber/DisableRollingNumberAnimationPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ val disableRollingNumberAnimationPatch = bytecodePatch(
2929

3030
compatibleWith(
3131
"com.google.android.youtube"(
32-
"19.16.39",
33-
"19.25.37",
3432
"19.34.42",
3533
"19.43.41",
3634
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/HideShortsComponentsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ val hideShortsComponentsPatch = bytecodePatch(
170170

171171
compatibleWith(
172172
"com.google.android.youtube"(
173-
"19.16.39",
174-
"19.25.37",
175173
"19.34.42",
176174
"19.43.41",
177175
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/hide/time/HideTimestampPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ val hideTimestampPatch = bytecodePatch(
2121

2222
compatibleWith(
2323
"com.google.android.youtube"(
24-
"19.16.39",
25-
"19.25.37",
2624
"19.34.42",
2725
"19.43.41",
2826
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/miniplayer/MiniplayerPatch.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -153,22 +153,6 @@ val miniplayerPatch = bytecodePatch(
153153

154154
compatibleWith(
155155
"com.google.android.youtube"(
156-
"19.16.39", // First with modern miniplayers.
157-
// 19.17.41 // Works without issues, but no reason to recommend over 19.16.
158-
// 19.18.41 // Works without issues, but no reason to recommend over 19.16.
159-
// 19.19.39 // Last bug free version with smaller Modern 1 miniplayer, but no reason to recommend over 19.16.
160-
// 19.20.35 // Cannot swipe to expand.
161-
// 19.21.40 // Cannot swipe to expand.
162-
// 19.22.43 // Cannot swipe to expand.
163-
// 19.23.40 // First with Modern 1 drag and drop, Cannot swipe to expand.
164-
// 19.24.45 // First with larger Modern 1, Cannot swipe to expand.
165-
"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.
166-
// 19.26.42 // Modern 1 Pause/play button are always hidden. Unusable.
167-
// 19.28.42 // First with custom miniplayer size, screen flickers when swiping to maximize Modern 1. Swipe to close miniplayer is broken.
168-
// 19.29.42 // All modern players are broken and ignore tapping the miniplayer video.
169-
// 19.30.39 // Modern 3 is less broken when double tap expand is enabled, but cannot swipe to expand when double tap is off.
170-
// 19.31.36 // All Modern 1 buttons are missing. Unusable.
171-
// 19.32.36 // 19.32+ and beyond all work without issues.
172156
"19.34.42",
173157
"19.43.41",
174158
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/panels/popup/PlayerPopupPanelsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ val playerPopupPanelsPatch = bytecodePatch(
2121

2222
compatibleWith(
2323
"com.google.android.youtube"(
24-
"19.16.39",
25-
"19.25.37",
2624
"19.34.42",
2725
"19.43.41",
2826
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/player/fullscreen/ExitFullscreenPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ internal val exitFullscreenPatch = bytecodePatch(
2121

2222
compatibleWith(
2323
"com.google.android.youtube"(
24-
"19.16.39",
25-
"19.25.37",
2624
"19.34.42",
2725
"19.43.41",
2826
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/player/overlay/CustomPlayerOverlayOpacityPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ val customPlayerOverlayOpacityPatch = bytecodePatch(
5252

5353
compatibleWith(
5454
"com.google.android.youtube"(
55-
"19.16.39",
56-
"19.25.37",
5755
"19.34.42",
5856
"19.43.41",
5957
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/returnyoutubedislike/ReturnYouTubeDislikePatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ val returnYouTubeDislikePatch = bytecodePatch(
6161

6262
compatibleWith(
6363
"com.google.android.youtube"(
64-
"19.16.39",
65-
"19.25.37",
6664
"19.34.42",
6765
"19.43.41",
6866
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/searchbar/WideSearchbarPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ val wideSearchbarPatch = bytecodePatch(
6666

6767
compatibleWith(
6868
"com.google.android.youtube"(
69-
"19.16.39",
70-
"19.25.37",
7169
"19.34.42",
7270
"19.43.41",
7371
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/seekbar/RestoreOldSeekbarThumbnailsPatch.kt

Whitespace-only changes.

patches/src/main/kotlin/app/revanced/patches/youtube/layout/shortsautoplay/ShortsAutoplayPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ val shortsAutoplayPatch = bytecodePatch(
4444

4545
compatibleWith(
4646
"com.google.android.youtube"(
47-
"19.16.39",
48-
"19.25.37",
4947
"19.34.42",
5048
"19.43.41",
5149
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/shortsplayer/OpenShortsInRegularPlayerPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ val openShortsInRegularPlayerPatch = bytecodePatch(
6464

6565
compatibleWith(
6666
"com.google.android.youtube"(
67-
"19.16.39",
68-
"19.25.37",
6967
"19.34.42",
7068
"19.43.41",
7169
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/sponsorblock/SponsorBlockPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ val sponsorBlockPatch = bytecodePatch(
126126

127127
compatibleWith(
128128
"com.google.android.youtube"(
129-
"19.16.39",
130-
"19.25.37",
131129
"19.34.42",
132130
"19.43.41",
133131
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/spoofappversion/SpoofAppVersionPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ val spoofAppVersionPatch = bytecodePatch(
5858

5959
compatibleWith(
6060
"com.google.android.youtube"(
61-
"19.16.39",
62-
"19.25.37",
6361
"19.34.42",
6462
"19.43.41",
6563
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/startpage/ChangeStartPagePatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ val changeStartPagePatch = bytecodePatch(
3232

3333
compatibleWith(
3434
"com.google.android.youtube"(
35-
"19.16.39",
36-
"19.25.37",
3735
"19.34.42",
3836
"19.43.41",
3937
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/startupshortsreset/DisableResumingShortsOnStartupPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ val disableResumingShortsOnStartupPatch = bytecodePatch(
3434

3535
compatibleWith(
3636
"com.google.android.youtube"(
37-
"19.16.39",
38-
"19.25.37",
3937
"19.34.42",
4038
"19.43.41",
4139
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/theme/ThemePatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ val themePatch = bytecodePatch(
204204

205205
compatibleWith(
206206
"com.google.android.youtube"(
207-
"19.16.39",
208-
"19.25.37",
209207
"19.34.42",
210208
"19.43.41",
211209
"19.47.53",

patches/src/main/kotlin/app/revanced/patches/youtube/layout/thumbnails/AlternativeThumbnailsPatch.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ val alternativeThumbnailsPatch = bytecodePatch(
3333

3434
compatibleWith(
3535
"com.google.android.youtube"(
36-
"19.16.39",
37-
"19.25.37",
3836
"19.34.42",
3937
"19.43.41",
4038
"19.47.53",

0 commit comments

Comments
 (0)