From b50f9eb41d1bd7b75a77e2c388b0144365e3cd5f Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 8 Jul 2024 16:58:44 +0200 Subject: [PATCH] Add workaround for Skyworth devices The vendor-modified ROM of Skyworth devices needs a valid app info/context. Fixes #4922 --- server/src/main/java/com/genymobile/scrcpy/Workarounds.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java index 448e7099..c9a26d78 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Workarounds.java +++ b/server/src/main/java/com/genymobile/scrcpy/Workarounds.java @@ -63,9 +63,11 @@ public final class Workarounds { // - // - mustFillAppInfo = true; - } else if (Build.BRAND.equalsIgnoreCase("honor")) { + } else if (Build.BRAND.equalsIgnoreCase("honor") || Build.MANUFACTURER.equalsIgnoreCase("skyworth")) { // More workarounds must be applied for Honor devices: // - + // and Skyworth devices: + // - // // The system context must not be set for all devices, because it would cause other problems: // -