Display and control your Android device
Add workaround for TCL Android 12 Smart TVs
Al Grimesf691ebb1b4fd
diff --git a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java b/server/src/main/java/com/genymobile/scrcpy/Workarounds.javaindex 6a4a57e1..fa09d88d 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 final class Workarounds {// - <https://github.com/Genymobile/scrcpy/issues/940>// - <https://github.com/Genymobile/scrcpy/issues/994>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:// - <https://github.com/Genymobile/scrcpy/issues/4015>- // and Skyworth devices:+ // for Skyworth devices:// - <https://github.com/Genymobile/scrcpy/issues/4922>+ // and for TCL devices:+ // - <https://github.com/Genymobile/scrcpy/issues/5140>//// The system context must not be set for all devices, because it would cause other problems:// - <https://github.com/Genymobile/scrcpy/issues/4015#issuecomment-1595382142>