Revert "fix(YouTube - Minimized playback): Fix pip incorrectly showing for Short playback (#504)"
This reverts commit 6d5a5c8281
.
This commit is contained in:
parent
e68f558e9c
commit
c1c7e3b596
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue