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.

Read the launchers from a bundled launchers.json

jesse-agent-23223deb8755eea
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f8202c7..1cf86f9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -28,6 +28,10 @@ The per-TV lists behind **Suggested for this TV** live in the [tellyscope-device
You don't have to trust ours. Fork tellyscope-devices, edit the lists in your fork, and keep `index.json` on schema 1 with each file's sha256 updated. Then in the app open **Settings** (in the ⋮ menu at the top right), open **Advanced** at the bottom, tap **Use your own debloat lists**, and paste the raw address of the folder that holds `index.json`, for example `https://raw.githubusercontent.com/<you>/tellyscope-devices/main/`. Only HTTPS is accepted, and a source that doesn't serve a schema 1 index is refused without changing anything. Switching drops the cached lists. While your source is in use, the review step says where the list came from. The built-in protected list still wins over any list, and **Reset to default** goes back to tellyscope-devices.
+## Launchers
+
+[`app/src/main/assets/launchers.json`](app/src/main/assets/launchers.json) lists the third-party launchers Tellyscope knows. Set `"accessibility": true` only for a launcher that keeps Home with its own accessibility service: Set as default turns that service on, and an accessibility service can read the screen. Check the APK's manifest for a service with `BIND_ACCESSIBILITY_SERVICE`, and put the version you checked in `"checked"`. The list ships with the app and is never fetched, so a custom list source can't add to it.
+
## README screenshots
They come from the screenshot tests, so they always show the current UI with sample data. To refresh them, render the tests, then put them in phone frames (needs Python 3 with Pillow):
diff --git a/README.md b/README.md
index ef386d3..f6a3b57 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,7 @@ Tellyscope is a phone app that talks to your Android TV, Google TV or Fire TV ov
- **The main jobs up front.** Big **Install app**, **Debloat** and **Send file** tiles sit right under the vitals. Debloat shows a count while the TV's list still has apps on, or while apps Tellyscope turned off are back on, often after a TV update. When there's nothing left, it opens Apps instead. Under **Suggested for this TV**, one line says how many of the list's apps are off. If any came back on, a red line says so. Below that are the TV's Android version, when it last updated, and **Check for updates**, which opens the TV's own update screen. The Apps tab has an **Install app** button, and Files has **Upload files**.
- **Advanced.** Every number in one place: memory, storage, CPU, temperature, uptime and screen state, CPU and RAM by app, processes, network and data used, and the TV's address.
- **Apps.** Every app on the TV with its real name and icon, under three buttons: **Running** (what's using memory now), **Installed** (only the apps you put on the TV) and **Built-in** (what came with it). The buttons stay pinned under the bar as you scroll. Stop, disable or turn back on any app that isn't protected; each button says what it will do and asks first. Apps you installed yourself also offer **Uninstall**, which asks in a dialog that names the app and says it can't be undone. On Running and Built-in, the protected apps sit last under **System**, which folds away with a tap and stays folded until you open it again. **Search apps** sits under the buttons and pins with them. Tap it and the field moves to the top, the TV and the buttons step aside, and every matching app shows in one list. ← or Back brings them back.
-- **Another home screen.** With a second launcher such as Projectivy installed, its row in Apps offers **Set as default launcher**. Tellyscope makes it Home, checks that Home really opens it, and only then disables the old launcher, so the TV can't switch back by itself. The one exception: a stock launcher that outranks the rest, e.g. Android TV Home, is turned off first and turned back on if Home still doesn't open the new one. One Undo in History turns the old launcher back on and makes it Home again. Later, the new launcher's row offers **Switch home back to** the one it replaced, or the TV's own if there was no switch: it's turned back on if it's off and made Home, and the added launcher stays, free to uninstall. For a launcher that keeps Home with its own accessibility service, such as Projectivy, Set as default also turns that service on, after the confirm says so, for TVs whose Home button opens their own launcher whatever the default is. Undo and Switch home back turn it off again, and any other accessibility services stay as they were. Settings and other apps that only answer Home as a fallback are never offered as launchers. On Google TV, the Apps row and the Live tab are part of the old launcher and go with it.
+- **Another home screen.** With a second launcher such as Projectivy installed, its row in Apps offers **Set as default launcher**. Tellyscope makes it Home, checks that Home really opens it, and only then disables the old launcher, so the TV can't switch back by itself. The one exception: a stock launcher that outranks the rest, e.g. Android TV Home, is turned off first and turned back on if Home still doesn't open the new one. One Undo in History turns the old launcher back on and makes it Home again. Later, the new launcher's row offers **Switch home back to** the one it replaced, or the TV's own if there was no switch: it's turned back on if it's off and made Home, and the added launcher stays, free to uninstall. For a launcher that keeps Home with its own accessibility service, such as Projectivy (the ones marked in [`launchers.json`](app/src/main/assets/launchers.json)), Set as default also turns that service on, after the confirm says so, for TVs whose Home button opens their own launcher whatever the default is. Undo and Switch home back turn it off again, and any other accessibility services stay as they were. Settings and other apps that only answer Home as a fallback are never offered as launchers. On Google TV, the Apps row and the Live tab are part of the old launcher and go with it.
- **Debloat.** It finds your TV among 230+ tested clean-up lists (adapted from [cleanyourtv](https://github.com/Gathin23/cleanyourtv)) and opens on every app it will turn off, with the model on top. With no list for the model, it shows apps from the maker's other lists, none ticked. With none for the maker either, you tick the TV's own apps by hand; the ones it needs aren't shown. **Not this TV?** searches every list. Your pick is remembered, and the TV's page then says how many of the list's apps are still on. Apps are pre-ticked only when the TV runs the Android version the list was tested on; untick anything you use, and you confirm before anything is disabled. If you'd rather not trust our lists, point the app at your own fork of them under **Advanced** in Settings (see [CONTRIBUTING](CONTRIBUTING.md#using-your-own-lists)).
- **History.** Every change is listed with an Undo, and **Restore everything** turns back on what Tellyscope turned off. Undoing a **Turn on** asks first, since it disables the app again. History is kept per TV, across restarts.
- **Install apps.** Pick an APK, several split APKs or an `.apks`/`.xapk`/`.apkm` bundle on your phone. Before installing, Tellyscope shows the app's name, version and size and says whether it's new, an update, a reinstall or an older version. It won't install an older version over a newer one unless you tick the box. If the TV refuses, you get the reason in plain words.
diff --git a/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt b/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt
index be59306..0c52c08 100644
--- a/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt
+++ b/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt
@@ -132,9 +132,9 @@ class Actions(private val shell: AdbShell) {
return currentHome()?.substringBefore('/') == activity.substringBefore('/')
}
- /** [pkg]'s accessibility service, when [pkg] is a launcher that keeps Home with one. */
- suspend fun homeService(pkg: String): String? = pkg.takeIf { it in HomeServices.LAUNCHERS }
- ?.let { activitiesIn(shell.shell(Commands.A11Y_SERVICES).output).firstOrNull { s -> s.substringBefore('/') == pkg } }
+ /** [pkg]'s accessibility service as the TV has it installed; null when it has none. */
+ suspend fun homeService(pkg: String): String? =
+ activitiesIn(shell.shell(Commands.A11Y_SERVICES).output).firstOrNull { it.substringBefore('/') == pkg }
suspend fun serviceOn(service: String): Boolean = HomeServices.has(shell.shell(Commands.A11Y_ON).output, service)
diff --git a/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt b/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt
index b46fc39..3b4f45d 100644
--- a/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt
+++ b/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt
@@ -2,18 +2,10 @@
package app.tellyscope.adb
/**
- * Launchers that keep Home with their own accessibility service, for TVs whose Home button opens
- * the TV's launcher whatever the default is. Set as default turns that service on; Undo and
- * Switch home back turn it off. An allowlist: an accessibility service can read the screen, so
- * Tellyscope turns one on only for a launcher known to use it for Home.
+ * The `enabled_accessibility_services` setting, for launchers that keep Home with their own
+ * accessibility service. Which launchers those are is the app's `launchers.json`.
*/
object HomeServices {
- val LAUNCHERS = setOf(
- "com.spocky.projengmenu", // Projectivy Launcher
- "com.overdevs.at4k", // AT4K Launcher
- "com.spauldhaliwal.dispatch", // Dispatch
- )
-
/** [list] is the `enabled_accessibility_services` setting: colon-separated, "null" when unset. */
fun has(list: String?, service: String) = entries(list).any { full(it) == full(service) }
diff --git a/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt b/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt
index 6c2bd57..cb91502 100644
--- a/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt
+++ b/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt
@@ -37,11 +37,10 @@ class HomeServicesTest {
}
}
- @Test fun onlyListedLaunchersGetTheirServiceTurnedOn() = runTest {
+ @Test fun theServiceIsReadFromTheTv() = runTest {
val sh = tv()
assertEquals(projectivy, Actions(sh).homeService("com.spocky.projengmenu"))
- // An installed service, but not a launcher known to need it for Home.
- assertNull(Actions(sh).homeService("com.other.app"))
+ assertNull(Actions(sh).homeService("me.efesser.flauncher"))
}
@Test fun turningItOnAndOffLeavesTheUsersServicesAlone() = runTest {
diff --git a/app/src/main/assets/launchers.json b/app/src/main/assets/launchers.json
new file mode 100644
index 0000000..a69ebe9
--- /dev/null
+++ b/app/src/main/assets/launchers.json
@@ -0,0 +1,13 @@
+{
+ "schema": 1,
+ "launchers": [
+ { "package": "com.spocky.projengmenu", "name": "Projectivy Launcher", "accessibility": true, "checked": "4.72" },
+ { "package": "com.overdevs.at4k", "name": "AT4K Launcher", "accessibility": true, "checked": "1.2" },
+ { "package": "com.spauldhaliwal.dispatch", "name": "Dispatch", "accessibility": true, "checked": "1.0.175" },
+ { "package": "me.efesser.flauncher", "name": "FLauncher", "accessibility": false, "checked": "0.18.0" },
+ { "package": "com.wolf.firelauncher", "name": "Wolf Launcher", "accessibility": false, "checked": "0.1.9" },
+ { "package": "ca.dstudio.atvlauncher.free", "name": "ATV Launcher", "accessibility": false, "checked": "0.0.11" },
+ { "package": "net.i.akihiro.halauncher", "name": "HALauncher", "accessibility": false, "checked": "2.0.3.0" },
+ { "package": "eu.chainfire.tv.sideloadlauncher", "name": "Sideload Launcher", "accessibility": false, "checked": "2.0.1" }
+ ]
+}
diff --git a/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt b/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt
index 2e099e8..049e92f 100644
--- a/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt
+++ b/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt
@@ -76,6 +76,11 @@ class AdbDeviceSource(context: Context) : DeviceSource {
@Volatile private var statsFor: Pair<String, StatsProfile>? = null
private val hits = ConcurrentHashMap<String, ScanHit>()
private val store = DeviceStore(File(appContext.filesDir, "devices.tsv"))
+ /** Launchers whose accessibility service a switch may turn on: only those `launchers.json` names. */
+ private val serviceLaunchers by lazy {
+ parseLaunchers(appContext.assets.open("launchers.json").bufferedReader().use { it.readText() })
+ .filter { it.accessibility }.map { it.pkg }.toSet()
+ }
private val saved = ConcurrentHashMap<String, SavedDevice>()
/** Remembered TVs that haven't answered since launch: shown offline, not "connecting". */
private val restoring = ConcurrentHashMap.newKeySet<String>()
@@ -358,6 +363,7 @@ class AdbDeviceSource(context: Context) : DeviceSource {
removable = p.name in userInstalled,
homeInstead = homeOptions?.takeIf { p.name in it.others }?.current,
homeBack = back?.takeIf { p.name == homeOptions?.current }?.let { names[it.pkg]?.label ?: AppNames.fallback(it.pkg) },
+ homeService = p.name in serviceLaunchers,
listKeep = p.name in keep,
)
}.sortedBy { it.label.lowercase() }
@@ -439,7 +445,7 @@ class AdbDeviceSource(context: Context) : DeviceSource {
return when (val r = actions.makeHome(packageName)) {
is HomeResult.Switched -> {
// Where the TV sends Home to its own launcher, the new one holds it with this service.
- val service = actions.homeService(packageName)?.takeUnless { actions.serviceOn(it) }
+ val service = packageName.takeIf { it in serviceLaunchers }?.let { actions.homeService(it) }?.takeUnless { actions.serviceOn(it) }
val on = service?.let { actions.setService(it, true) }
val label = labels[packageName] ?: AppNames.fallback(packageName)
book.record(
@@ -475,7 +481,7 @@ class AdbDeviceSource(context: Context) : DeviceSource {
return when (val r = Actions(shell).homeBack(target.pkg, target.activity)) {
is HomeResult.Switched -> {
// Off with Home: it would keep sending Home to [added]. Undo, a switch, turns it on again.
- val service = Actions(shell).homeService(added)?.takeIf { Actions(shell).serviceOn(it) }
+ val service = added.takeIf { it in serviceLaunchers }?.let { Actions(shell).homeService(it) }?.takeIf { Actions(shell).serviceOn(it) }
val off = service?.let { Actions(shell).setService(it, false) }
book.record(
deviceId = key,
diff --git a/app/src/main/java/app/tellyscope/data/DeviceLists.kt b/app/src/main/java/app/tellyscope/data/DeviceLists.kt
index 64ee29c..8fe7610 100644
--- a/app/src/main/java/app/tellyscope/data/DeviceLists.kt
+++ b/app/src/main/java/app/tellyscope/data/DeviceLists.kt
@@ -139,7 +139,7 @@ sealed interface Suggestions {
}
/** Same rule tellyscope-devices checks; a name goes into a `pm` shell line. */
-private val PACKAGE = Regex("[A-Za-z][A-Za-z0-9_]*(\\.[A-Za-z0-9_]+)+")
+internal val PACKAGE = Regex("[A-Za-z][A-Za-z0-9_]*(\\.[A-Za-z0-9_]+)+")
private val FILE = Regex("devices/[A-Za-z0-9][A-Za-z0-9._-]*\\.json")
private val SHA256 = Regex("[0-9a-f]{64}")
private const val SCHEMA = 1
@@ -414,7 +414,7 @@ internal fun depth(text: String): Int {
}
/** [f] over each element, leaving out any that isn't an object or that [f] can't read. */
-private fun <T : Any> JSONArray.objectsOrSkip(f: (JSONObject) -> T?): List<T> = (0 until length()).mapNotNull {
+internal fun <T : Any> JSONArray.objectsOrSkip(f: (JSONObject) -> T?): List<T> = (0 until length()).mapNotNull {
try {
f(getJSONObject(it))
} catch (_: org.json.JSONException) {
@@ -422,5 +422,5 @@ private fun <T : Any> JSONArray.objectsOrSkip(f: (JSONObject) -> T?): List<T> =
}
}
private fun JSONArray.strings() = (0 until length()).map { getString(it) }
-private fun JSONObject.optStringOrNull(k: String) = if (isNull(k)) null else optString(k)
+internal fun JSONObject.optStringOrNull(k: String) = if (isNull(k)) null else optString(k)
private fun JSONObject.optIntOrNull(k: String) = if (isNull(k)) null else optInt(k)
diff --git a/app/src/main/java/app/tellyscope/data/Launchers.kt b/app/src/main/java/app/tellyscope/data/Launchers.kt
new file mode 100644
index 0000000..9355445
--- /dev/null
+++ b/app/src/main/java/app/tellyscope/data/Launchers.kt
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-3.0-only
+
+package app.tellyscope.data
+
+import org.json.JSONObject
+
+/**
+ * A third-party launcher Tellyscope knows, from `assets/launchers.json`. [accessibility]: it keeps
+ * Home with its own accessibility service, for TVs whose Home button opens their own launcher
+ * whatever the default is, so Set as default turns that service on and Undo / Switch home back
+ * turn it off. [checked] is the version whose manifest was read.
+ */
+data class KnownLauncher(val pkg: String, val name: String, val accessibility: Boolean, val checked: String?)
+
+/**
+ * Bundled with the app, never fetched: an accessibility service can read the screen, so only a
+ * list that went through review may turn one on. Empty unless it is schema 1; entries that can't
+ * be read or aren't package names are dropped.
+ */
+fun parseLaunchers(text: String): List<KnownLauncher> = try {
+ val o = JSONObject(text)
+ if (o.optInt("schema") != 1) emptyList() else o.getJSONArray("launchers").objectsOrSkip { l ->
+ KnownLauncher(
+ pkg = l.getString("package"),
+ name = l.getString("name"),
+ accessibility = l.optBoolean("accessibility"),
+ checked = l.optStringOrNull("checked"),
+ ).takeIf { PACKAGE.matches(it.pkg) }
+ }
+} catch (_: org.json.JSONException) {
+ emptyList()
+}
diff --git a/app/src/main/java/app/tellyscope/data/Model.kt b/app/src/main/java/app/tellyscope/data/Model.kt
index f47ac02..158ba12 100644
--- a/app/src/main/java/app/tellyscope/data/Model.kt
+++ b/app/src/main/java/app/tellyscope/data/Model.kt
@@ -121,6 +121,8 @@ data class AppInfo(
val homeInstead: String? = null,
/** On the home screen the user added: the name of the launcher "Switch home back" returns to. */
val homeBack: String? = null,
+ /** A launcher that keeps Home with its accessibility service: the switch turns it on, the way back off. */
+ val homeService: Boolean = false,
/** This TV's list says to keep it: Stop, Disable and Uninstall still run, after a warning. */
val listKeep: Boolean = false,
)
diff --git a/app/src/main/java/app/tellyscope/ui/Copy.kt b/app/src/main/java/app/tellyscope/ui/Copy.kt
index c61db26..1760691 100644
--- a/app/src/main/java/app/tellyscope/ui/Copy.kt
+++ b/app/src/main/java/app/tellyscope/ui/Copy.kt
@@ -2,7 +2,6 @@
package app.tellyscope.ui
-import app.tellyscope.adb.HomeServices
import app.tellyscope.adb.InstallKind
import app.tellyscope.adb.InstallRefusal
import app.tellyscope.adb.TvFolder
@@ -77,9 +76,9 @@ object Copy {
fun homeBack(launcher: String) = "Switch home back to $launcher"
/** The way back keeps the added launcher, so it can be made Home again or uninstalled. */
- fun explainHomeBack(added: String, addedPkg: String, back: String) = buildString {
+ fun explainHomeBack(added: String, back: String, service: Boolean) = buildString {
append("Makes $back open when you press Home again, turning it back on if it's off. $added stays on")
- append(if (addedPkg in HomeServices.LAUNCHERS) ", with its accessibility service turned off. " else ". ")
+ append(if (service) ", with its accessibility service turned off. " else ". ")
append("Undo in History makes $added Home again.")
}
@@ -93,10 +92,10 @@ object Copy {
* The home switch touches two apps, so it names both. The old launcher is disabled, not just
* replaced: otherwise many TVs switch back to it by themselves.
*/
- fun explainHome(app: String, pkg: String, current: String, currentPkg: String) = buildString {
+ fun explainHome(app: String, pkg: String, current: String, currentPkg: String, service: Boolean = false) = buildString {
append("Makes $app ($pkg) open when you press Home, then disables $current ($currentPkg) so the TV can't switch back by itself. ")
append("Undo in History turns $current back on and makes it Home again.")
- if (pkg in HomeServices.LAUNCHERS) {
+ if (service) {
append("\n\nIt also turns on $app's accessibility service, so the Home button opens $app on TVs that would open their own launcher. ")
append("An accessibility service can see what's on screen. Undo and Switch home back turn it off.")
}
diff --git a/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt b/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt
index 36a2f8a..eb60746 100644
--- a/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt
+++ b/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt
@@ -429,8 +429,8 @@ internal fun AppRow(
} else {
Text(
when {
- proposed == Action.Home && home != null -> Copy.explainHome(app.label, app.packageName, homeLabel!!, home)
- proposed == Action.HomeBack && back != null -> Copy.explainHomeBack(app.label, app.packageName, back)
+ proposed == Action.Home && home != null -> Copy.explainHome(app.label, app.packageName, homeLabel!!, home, app.homeService)
+ proposed == Action.HomeBack && back != null -> Copy.explainHomeBack(app.label, back, app.homeService)
app.listKeep && proposed != Action.Enable -> Copy.explain(proposed, app.label, app.packageName) + "\n\n" + Copy.KEEP_WARNING
else -> Copy.explain(proposed, app.label, app.packageName)
},
diff --git a/app/src/test/java/app/tellyscope/LaunchersTest.kt b/app/src/test/java/app/tellyscope/LaunchersTest.kt
new file mode 100644
index 0000000..d8e592e
--- /dev/null
+++ b/app/src/test/java/app/tellyscope/LaunchersTest.kt
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: GPL-3.0-only
+
+package app.tellyscope
+
+import app.tellyscope.data.KnownLauncher
+import app.tellyscope.data.parseLaunchers
+import org.junit.Assert.assertEquals
+import org.junit.Assert.assertTrue
+import org.junit.Test
+import org.junit.runner.RunWith
+import org.robolectric.RobolectricTestRunner
+import org.robolectric.annotation.Config
+import java.io.File
+
+/** org.json is Android's, so this runs under Robolectric. */
+@RunWith(RobolectricTestRunner::class)
+@Config(sdk = [35])
+class LaunchersTest {
+ @Test fun theBundledListReadsWhole() {
+ val text = File("src/main/assets/launchers.json").readText()
+ val launchers = parseLaunchers(text)
+ assertEquals(Regex("\"package\"").findAll(text).count(), launchers.size) // nothing dropped
+ assertEquals(launchers.size, launchers.map { it.pkg }.toSet().size)
+ assertEquals(
+ setOf("com.spocky.projengmenu", "com.overdevs.at4k", "com.spauldhaliwal.dispatch"),
+ launchers.filter { it.accessibility }.map { it.pkg }.toSet(),
+ )
+ }
+
+ @Test fun badEntriesAreDroppedAndOnlySchemaOneCounts() {
+ val text = """{"schema":1,"launchers":[
+ {"package":"com.good.launcher","name":"Good","accessibility":true},
+ {"package":"not a package; rm -rf /","name":"Bad","accessibility":true},
+ {"name":"No package"},
+ "not an object"
+ ]}"""
+ assertEquals(listOf(KnownLauncher("com.good.launcher", "Good", true, null)), parseLaunchers(text))
+ assertTrue(parseLaunchers(text.replace("\"schema\":1", "\"schema\":2")).isEmpty())
+ assertTrue(parseLaunchers("{").isEmpty())
+ }
+}
diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
index 37ba01f..6c475f4 100644
--- a/app/src/test/java/app/tellyscope/ScreenshotTest.kt
+++ b/app/src/test/java/app/tellyscope/ScreenshotTest.kt
@@ -1180,7 +1180,7 @@ class ScreenshotTest {
private fun homeBack(dark: Boolean) {
val back = { compose.onNode(hasScrollAction()).performScrollToNode(hasText(Copy.confirm(Action.HomeBack))); Unit }
shot("78_apps_home_back", dark, before = back) { DeviceTabsScreen(homeBackState(confirming = true), DeviceActions(), startTab = TvTab.Apps) }
- compose.onNodeWithText(Copy.explainHomeBack("Projectivy Launcher", "com.spocky.projengmenu", "Google TV Home")).assertExists()
+ compose.onNodeWithText(Copy.explainHomeBack("Projectivy Launcher", "Google TV Home", service = false)).assertExists()
}
@Test fun apps_homeBack() = homeBack(false)
@Test fun apps_homeBack_dark() = homeBack(true)