mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-07 12:47:02 +01:00
fix(YouTube): Rename Minimized playback
to Remove background playback restrictions
(#651)
This commit is contained in:
parent
925f8bb297
commit
84c50c080c
@ -3,7 +3,7 @@ package app.revanced.integrations.youtube.patches;
|
||||
import app.revanced.integrations.youtube.shared.PlayerType;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class MinimizedPlaybackPatch {
|
||||
public class BackgroundPlaybackPatch {
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
@ -35,7 +35,7 @@ public class MinimizedPlaybackPatch {
|
||||
/**
|
||||
* 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;
|
Loading…
Reference in New Issue
Block a user