Skip to content

Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.

Report links build on Android 12 and older

jesse-agent-232946fd938f9e8
diff --git a/.github/ISSUE_TEMPLATE/device_report.yml b/.github/ISSUE_TEMPLATE/device_report.yml
index 53da600..0f87759 100644
--- a/.github/ISSUE_TEMPLATE/device_report.yml
+++ b/.github/ISSUE_TEMPLATE/device_report.yml
@@ -28,7 +28,7 @@ body:
attributes:
label: How did you connect?
options:
- - Port 5555 (classic network debugging)
+ - Classic network debugging
- Wireless debugging (pairing code)
- Couldn't connect
validations:
diff --git a/adb/src/main/kotlin/app/tellyscope/adb/Reports.kt b/adb/src/main/kotlin/app/tellyscope/adb/Reports.kt
index 591442b..3dfb462 100644
--- a/adb/src/main/kotlin/app/tellyscope/adb/Reports.kt
+++ b/adb/src/main/kotlin/app/tellyscope/adb/Reports.kt
@@ -95,7 +95,7 @@ data class Report(
/** GitHub answers 414 a little past 8 KB; this leaves room for redirects through a login. */
const val MAX_URL = 6000
- private fun encode(s: String) = URLEncoder.encode(s, Charsets.UTF_8).replace("+", "%20")
+ private fun encode(s: String) = URLEncoder.encode(s, "UTF-8").replace("+", "%20")
}
}
@@ -106,7 +106,7 @@ object Reports {
/** The options of our device_report.yml "How did you connect?" dropdown, word for word. */
enum class Connection(val option: String) {
- PORT_5555("Port 5555 (classic network debugging)"),
+ PORT_5555("Classic network debugging"),
WIRELESS_DEBUGGING("Wireless debugging (pairing code)"),
COULD_NOT_CONNECT("Couldn't connect"),
}
diff --git a/adb/src/test/kotlin/app/tellyscope/adb/ReportsTest.kt b/adb/src/test/kotlin/app/tellyscope/adb/ReportsTest.kt
index ccdd593..130122b 100644
--- a/adb/src/test/kotlin/app/tellyscope/adb/ReportsTest.kt
+++ b/adb/src/test/kotlin/app/tellyscope/adb/ReportsTest.kt
@@ -31,7 +31,7 @@ class ReportsTest {
assertEquals("[Device] XGIMI XK03H (galileo)", q["title"])
assertEquals("XGIMI XK03H (galileo)", q["model"])
assertEquals("Android 11 (API 30), build RTT1.230922.001", q["android-version"])
- assertEquals("Port 5555 (classic network debugging)", q["connection"])
+ assertEquals("Classic network debugging", q["connection"])
assertEquals("0.8.0", q["app-version"])
assertEquals("Connected, but something misbehaved", q["outcome"])
assertEquals("Remote keys lag\n\nTellyscope 0.8.0 on Pixel 7, Android 14\n\nLog:\n```\nline 1\n```", q["details"])