From b826865ef40a55dc79e6e146e3c35bfe7d792886 Mon Sep 17 00:00:00 2001 From: KAZI MMT <82371061+kazimmt@users.noreply.github.com> Date: Sat, 1 Jun 2024 15:29:14 +0600 Subject: [PATCH] fix(YouTube - Spoof client): Allow swipe gestures to enter/exit fullscreen when spoofing with `Android VR` client (#645) --- .../youtube/patches/spoof/SpoofClientPatch.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java index 6ce8da4f..6c265e6b 100644 --- a/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java +++ b/app/src/main/java/app/revanced/integrations/youtube/patches/spoof/SpoofClientPatch.java @@ -101,6 +101,13 @@ public class SpoofClientPatch { return originalClientModel; } + /** + * Injection point. + */ + public static boolean enablePlayerGesture(boolean original) { + return SPOOF_CLIENT_ENABLED || original; + } + /** * Injection point. */