From 84c50c080c2a8c096b7709164cbaec5466a8492c Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Sat, 8 Jun 2024 11:34:57 +0300 Subject: [PATCH] fix(YouTube): Rename `Minimized playback` to `Remove background playback restrictions` (#651) --- ...nimizedPlaybackPatch.java => BackgroundPlaybackPatch.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename app/src/main/java/app/revanced/integrations/youtube/patches/{MinimizedPlaybackPatch.java => BackgroundPlaybackPatch.java} (93%) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/MinimizedPlaybackPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/BackgroundPlaybackPatch.java similarity index 93% rename from app/src/main/java/app/revanced/integrations/youtube/patches/MinimizedPlaybackPatch.java rename to app/src/main/java/app/revanced/integrations/youtube/patches/BackgroundPlaybackPatch.java index 6dc3cc7a51..e6e449a0cb 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/MinimizedPlaybackPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/BackgroundPlaybackPatch.java @@ -3,7 +3,7 @@ import app.revanced.integrations.youtube.shared.PlayerType; @SuppressWarnings("unused") -public class MinimizedPlaybackPatch { +public class BackgroundPlaybackPatch { /** * Injection point. @@ -35,7 +35,7 @@ public static boolean playbackIsNotShort() { /** * Injection point. */ - public static boolean overrideMinimizedPlaybackAvailable() { + public static boolean overrideBackgroundPlaybackAvailable() { // This could be done entirely in the patch, // but having a unique method to search for makes manually inspecting the patched apk much easier. return true;