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.
Actions: homeActivity above the launchers() KDoc
jesse-agent-232a9d3b02b206e
diff --git a/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt b/adb/src/main/kotlin/app/tellyscope/adb/Actions.ktindex 0dcb3f0..2601a13 100644--- a/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt+++ b/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt@@ -259,13 +259,13 @@ class Actions(private val shell: AdbShell) {return builtIn.maxByOrNull { priority[it.key] ?: 0 }?.value}+ /** [pkg]'s home activity, or null when it isn't an enabled launcher. */+ suspend fun homeActivity(pkg: String): String? = launchers()[pkg]+/*** Every enabled launcher, package to its home activity. Apps protected for another reason* aren't launchers, though they may answer Home: TV Settings has a fallback home screen.*/- /** [pkg]'s home activity, or null when it isn't an enabled launcher. */- suspend fun homeActivity(pkg: String): String? = launchers()[pkg]-private suspend fun launchers(): Map<String, String> = launchersIn(shell.shell(Commands.HOME_ACTIVITIES).output)private fun launchersIn(brief: String): Map<String, String> =