mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(YouTube - Remove background playback restriction): Play/Pause button not working in PiP mode https://github.com/inotia00/ReVanced_Extended/issues/2764
This commit is contained in:
@ -18,16 +18,6 @@ public class BackgroundPlaybackPatch {
|
||||
return ShortsPlayerState.getCurrent().isClosed();
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
*/
|
||||
public static boolean isBackgroundShortsPlaybackAllowed() {
|
||||
if (PlayerType.getCurrent().isNoneHiddenOrMinimized()) {
|
||||
return !DISABLE_SHORTS_BACKGROUND_PLAYBACK.get();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user