diff --git a/manager/src/main/java/moe/shizuku/manager/home/WadbNotEnabledDialogFragment.kt b/manager/src/main/java/moe/shizuku/manager/home/WadbNotEnabledDialogFragment.kt index 3d2ba30f6..e6c2e7c2d 100644 --- a/manager/src/main/java/moe/shizuku/manager/home/WadbNotEnabledDialogFragment.kt +++ b/manager/src/main/java/moe/shizuku/manager/home/WadbNotEnabledDialogFragment.kt @@ -1,14 +1,11 @@ package moe.shizuku.manager.home import android.app.Dialog -import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AlertDialog import androidx.fragment.app.DialogFragment import androidx.fragment.app.FragmentManager import moe.shizuku.manager.R -import moe.shizuku.manager.starter.StarterActivity -import java.net.InetAddress class WadbNotEnabledDialogFragment :DialogFragment() { @@ -17,15 +14,6 @@ class WadbNotEnabledDialogFragment :DialogFragment() { return AlertDialog.Builder(context) .setMessage(R.string.dialog_wireless_adb_not_enabled) .setPositiveButton(android.R.string.ok, null) - .setNeutralButton(context.getString(R.string.dialog_adb_try, 5555)) { _, _ -> - val host = InetAddress.getLoopbackAddress().hostName - val intent = Intent(context, StarterActivity::class.java).apply { - putExtra(StarterActivity.EXTRA_IS_ROOT, false) - putExtra(StarterActivity.EXTRA_HOST, host) - putExtra(StarterActivity.EXTRA_PORT, 5555) - } - context.startActivity(intent) - } .create() } diff --git a/manager/src/main/res/values-zh-rCN/strings.xml b/manager/src/main/res/values-zh-rCN/strings.xml index 9bf40aa40..43895ac04 100644 --- a/manager/src/main/res/values-zh-rCN/strings.xml +++ b/manager/src/main/res/values-zh-rCN/strings.xml @@ -88,5 +88,4 @@ 如果您还是无法让您的系统允许 Shizuku 开机启动,您可以尝试使用 %s。 对于已 root 设备,Shizuku 可以开机启动 开机启动(root) - 强制尝试 %d \ No newline at end of file diff --git a/manager/src/main/res/values-zh-rTW/strings.xml b/manager/src/main/res/values-zh-rTW/strings.xml index 01f001213..ee557390d 100644 --- a/manager/src/main/res/values-zh-rTW/strings.xml +++ b/manager/src/main/res/values-zh-rTW/strings.xml @@ -89,5 +89,4 @@ 如果您還是無法讓您的系統允許 Shizuku 開機啟動,您可以嘗試使用 %s。 對於已 root 裝置,Shizuku 可以開機啟動 開機啟動(root) - 強制嘗試 %d \ No newline at end of file diff --git a/manager/src/main/res/values/strings.xml b/manager/src/main/res/values/strings.xml index bde864419..26b17e74b 100644 --- a/manager/src/main/res/values/strings.xml +++ b/manager/src/main/res/values/strings.xml @@ -41,7 +41,6 @@ Unable to generate key for wireless debugging.\nThis may be because KeyStore mechanism of this device is broken. Please go through the pairing step first. Developer options - Forced to try %d