From 7b8240c27edd8d07557ff89cb37de80636f99ab9 Mon Sep 17 00:00:00 2001 From: AceDroidX <15519693+AceDroidX@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E9=9C=80=E8=A6=81=E5=86=99=E5=85=A5frpc.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/github/acedroidx/frp/MainActivity.kt | 20 +++-------- .../io/github/acedroidx/frp/ShellService.kt | 29 ++++++++++++---- .../io/github/acedroidx/frp/ShellThread.kt | 34 +++++++++++++++++++ 3 files changed, 60 insertions(+), 23 deletions(-) create mode 100644 app/src/main/java/io/github/acedroidx/frp/ShellThread.kt diff --git a/app/src/main/java/io/github/acedroidx/frp/MainActivity.kt b/app/src/main/java/io/github/acedroidx/frp/MainActivity.kt index 1faf1df..e5ed4b2 100644 --- a/app/src/main/java/io/github/acedroidx/frp/MainActivity.kt +++ b/app/src/main/java/io/github/acedroidx/frp/MainActivity.kt @@ -19,7 +19,6 @@ import androidx.activity.result.contract.ActivityResultContracts import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.widget.SwitchCompat import androidx.core.content.ContextCompat -import java.io.File class MainActivity : AppCompatActivity() { @@ -94,28 +93,17 @@ class MainActivity : AppCompatActivity() { } val deleteButton = findViewById