From 9a96a38f686d2db6d810733f173b898f7ed52cf7 Mon Sep 17 00:00:00 2001 From: RainbowC0 <15760207563@139.com> Date: Fri, 19 Jul 2024 15:48:37 +0800 Subject: [PATCH] Fixed bugs. --- app/src/main/java/cn/rbc/termuc/Lsp.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/cn/rbc/termuc/Lsp.java b/app/src/main/java/cn/rbc/termuc/Lsp.java index e6656f7..6623ecc 100644 --- a/app/src/main/java/cn/rbc/termuc/Lsp.java +++ b/app/src/main/java/cn/rbc/termuc/Lsp.java @@ -27,7 +27,7 @@ public class Lsp { private long mLastReceivedTime; public void start(final Context mC, final Handler read) { - Utils.run(mC, "/system/bin/nc", new String[]{"-l", "-s", Settings.lsp_host, "-p", Integer.toString(Settings.lsp_port), "clangd", "--header-insertion-decorators=0", "--log=verbose", "--completion-style=bundled"}, Environment.getExternalStorageDirectory().getAbsolutePath(), true); + Utils.run(mC, "/system/bin/nc", new String[]{"-l", "-s", Settings.lsp_host, "-p", Integer.toString(Settings.lsp_port), "clangd", "--header-insertion-decorators=0", "--completion-style=bundled"}, Environment.getExternalStorageDirectory().getAbsolutePath(), true); sk = new Socket(); mExecutor = Executors.newSingleThreadExecutor(); new Thread(){ @@ -60,8 +60,6 @@ public void run() { byte[] strb = new byte[len]; for (i=0; i