mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-07 10:35:49 +01:00
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 {
|
public class MinimizedPlaybackPatch {
|
||||||
|
|
||||||
/**
|
public static boolean isPlaybackNotShort() {
|
||||||
* Injection point.
|
|
||||||
*/
|
|
||||||
public static boolean videoSupportsMinimizedPlayback() {
|
|
||||||
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
|
return !PlayerType.getCurrent().isNoneHiddenOrSlidingMinimized();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Injection point.
|
|
||||||
*/
|
|
||||||
public static boolean overrideMinimizedPlaybackAvailable() {
|
public static boolean overrideMinimizedPlaybackAvailable() {
|
||||||
// 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user