From 12cdb23f836ead21956e686aa8c62d75f8697611 Mon Sep 17 00:00:00 2001 From: Al Grimes Date: Sun, 28 Jul 2024 13:01:06 +0100 Subject: [PATCH] Add workaround for TCL Android 12 Smart TVs Fixes #5140 PR #5148 Signed-off-by: Romain Vimont --- server/src/main/java/com/genymobile/scrcpy/Workarounds.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java index 6a4a57e145..fa09d88d7c 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java +++ b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java @@ -66,11 +66,13 @@ public static void apply(boolean audio, boolean camera) { // - // - mustFillAppInfo = true; - } else if (Build.BRAND.equalsIgnoreCase("honor") || Build.MANUFACTURER.equalsIgnoreCase("skyworth")) { + } else if (Build.BRAND.equalsIgnoreCase("honor") || Build.MANUFACTURER.equalsIgnoreCase("skyworth") || Build.BRAND.equalsIgnoreCase("tcl")) { // More workarounds must be applied for Honor devices: // - - // and Skyworth devices: + // for Skyworth devices: // - + // and for TCL devices: + // - // // The system context must not be set for all devices, because it would cause other problems: // -