Skip to content

Commit

Permalink
fix(YouTube): Rename Minimized playback to `Remove background playb…
Browse files Browse the repository at this point in the history
…ack restrictions` (#651)
  • Loading branch information
LisoUseInAIKyrios committed Jun 8, 2024
1 parent 925f8bb commit 84c50c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import app.revanced.integrations.youtube.shared.PlayerType;

@SuppressWarnings("unused")
public class MinimizedPlaybackPatch {
public class BackgroundPlaybackPatch {

/**
* Injection point.
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 84c50c0

Please sign in to comment.