mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-08 11:05:49 +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;
|
import app.revanced.integrations.youtube.shared.PlayerType;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public class MinimizedPlaybackPatch {
|
public class BackgroundPlaybackPatch {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Injection point.
|
* Injection point.
|
||||||
@ -35,7 +35,7 @@ public class MinimizedPlaybackPatch {
|
|||||||
/**
|
/**
|
||||||
* Injection point.
|
* Injection point.
|
||||||
*/
|
*/
|
||||||
public static boolean overrideMinimizedPlaybackAvailable() {
|
public static boolean overrideBackgroundPlaybackAvailable() {
|
||||||
// This could be done entirely in the patch,
|
// This could be done entirely in the patch,
|
||||||
// but having a unique method to search for makes manually inspecting the patched apk much easier.
|
// but having a unique method to search for makes manually inspecting the patched apk much easier.
|
||||||
return true;
|
return true;
|
Loading…
Reference in New Issue
Block a user