Revert "fix(YouTube - Minimized playback): Fix pip incorrectly showing for Short playback (#504)"

This reverts commit 6d5a5c8281.
This commit is contained in:
LisoUseInAIKyrios 2023-10-20 13:35:14 +03:00
parent e68f558e9c
commit c1c7e3b596
1 changed files with 1 additions and 7 deletions

View File

@ -4,16 +4,10 @@ import app.revanced.integrations.shared.PlayerType;
public class MinimizedPlaybackPatch {
/**
* Injection point.
*/
public static boolean videoSupportsMinimizedPlayback() {
public static boolean isPlaybackNotShort() {
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
}
/**
* Injection point.
*/
public static boolean overrideMinimizedPlaybackAvailable() {
// This could be done entirely in the patch,
// but having a unique method to search for makes manually inspecting the patched apk much easier.