diff --git a/easycontrol/server/src/main/java/top/saymzx/easycontrol/server/wrappers/SurfaceControl.java b/easycontrol/server/src/main/java/top/saymzx/easycontrol/server/wrappers/SurfaceControl.java index f552b7b5..ba8ba211 100644 --- a/easycontrol/server/src/main/java/top/saymzx/easycontrol/server/wrappers/SurfaceControl.java +++ b/easycontrol/server/src/main/java/top/saymzx/easycontrol/server/wrappers/SurfaceControl.java @@ -48,7 +48,7 @@ private static void getMethodAndroid14() throws Exception { displayControlClass = classLoader.loadClass("com.android.server.display.DisplayControl"); Method loadMethod = Runtime.class.getDeclaredMethod("loadLibrary0", Class.class, String.class); loadMethod.setAccessible(true); - if ((Build.BRAND.toLowerCase() + Build.MANUFACTURER.toLowerCase()).contains("honor")) throw new Exception("Honor device"); +// if ((Build.BRAND.toLowerCase() + Build.MANUFACTURER.toLowerCase()).contains("honor")) throw new Exception("Honor device"); loadMethod.invoke(Runtime.getRuntime(), displayControlClass, "android_servers"); } catch (Throwable ignored) { }