Skip to content

Commit 834bb79

Browse files
Al GrimesBart Saint Germain
Al Grimes
authored and
Bart Saint Germain
committed
Add workaround for TCL Android 12 Smart TVs
Fixes Genymobile#5140 <Genymobile#5140> PR Genymobile#5148 <Genymobile#5148> Signed-off-by: Romain Vimont <[email protected]>
1 parent aed1c1b commit 834bb79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

server/src/main/java/com/genymobile/scrcpy/Workarounds.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ public static void apply(boolean audio, boolean camera) {
6666
// - <https://github.com/Genymobile/scrcpy/issues/940>
6767
// - <https://github.com/Genymobile/scrcpy/issues/994>
6868
mustFillAppInfo = true;
69-
} else if (Build.BRAND.equalsIgnoreCase("honor") || Build.MANUFACTURER.equalsIgnoreCase("skyworth")) {
69+
} else if (Build.BRAND.equalsIgnoreCase("honor") || Build.MANUFACTURER.equalsIgnoreCase("skyworth") || Build.BRAND.equalsIgnoreCase("tcl")) {
7070
// More workarounds must be applied for Honor devices:
7171
// - <https://github.com/Genymobile/scrcpy/issues/4015>
72-
// and Skyworth devices:
72+
// for Skyworth devices:
7373
// - <https://github.com/Genymobile/scrcpy/issues/4922>
74+
// and for TCL devices:
75+
// - <https://github.com/Genymobile/scrcpy/issues/5140>
7476
//
7577
// The system context must not be set for all devices, because it would cause other problems:
7678
// - <https://github.com/Genymobile/scrcpy/issues/4015#issuecomment-1595382142>

0 commit comments

Comments
 (0)