Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

fix(YouTube): Rename Minimized playback to Remove background playback restrictions #651

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading