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.
Keep Home on launchers that hold it with an accessibility service
jesse-agent-2320e0d182c0579
diff --git a/README.md b/README.mdindex 763292d..ef386d3 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. 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, 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.ktindex 80228a0..be59306 100644--- a/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt+++ b/adb/src/main/kotlin/app/tellyscope/adb/Actions.kt@@ -132,6 +132,28 @@ 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 } }++ suspend fun serviceOn(service: String): Boolean = HomeServices.has(shell.shell(Commands.A11Y_ON).output, service)++ /**+ * Turns accessibility [service] on or off, leaving the user's other services as they are, then+ * reads the setting back. True when it took.+ */+ suspend fun setService(service: String, on: Boolean): Boolean {+ require(ACTIVITY.matches(service)) { "not a service: $service" }+ val list = shell.shell(Commands.A11Y_ON).output+ val next = if (on) HomeServices.with(list, service) else HomeServices.without(list, service)+ // Every entry goes inside one quoted shell word; a quote of its own would end it.+ if (next.any { '\'' in it }) return false+ if (next.isEmpty()) shell.shell("settings delete secure enabled_accessibility_services 2>&1")+ else shell.shell("settings put secure enabled_accessibility_services '${next.joinToString(":")}' 2>&1")+ if (on) shell.shell("settings put secure accessibility_enabled 1 2>&1")+ return serviceOn(service) == on+ }+/** The activity Home opens, or null when Android would ask (its chooser lives in `android`). */private suspend fun currentHome(): String? =activitiesIn(shell.shell(Commands.HOME_ACTIVITY).output).singleOrNull()?.takeUnless { it.startsWith("android/") }diff --git a/adb/src/main/kotlin/app/tellyscope/adb/Commands.kt b/adb/src/main/kotlin/app/tellyscope/adb/Commands.ktindex cea3e55..82ded1e 100644--- a/adb/src/main/kotlin/app/tellyscope/adb/Commands.kt+++ b/adb/src/main/kotlin/app/tellyscope/adb/Commands.kt@@ -43,6 +43,8 @@ internal object Commands {const val HOME_ACTIVITY = "cmd package resolve-activity --brief -a android.intent.action.MAIN -c android.intent.category.HOME"const val SET_HOME = "cmd package set-home-activity --user 0"const val HOME_ACTIVITIES = "cmd package query-activities --brief -a android.intent.action.MAIN -c android.intent.category.HOME"+ const val A11Y_SERVICES = "cmd package query-services --brief -a android.accessibilityservice.AccessibilityService"+ const val A11Y_ON = "settings get secure enabled_accessibility_services"private fun List<String>.batch() = joinToString("; echo $SEP; ") { "$it 2>/dev/null" }diff --git a/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt b/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.ktnew file mode 100644index 0000000..b46fc39--- /dev/null+++ b/adb/src/main/kotlin/app/tellyscope/adb/HomeServices.kt@@ -0,0 +1,31 @@+// SPDX-License-Identifier: GPL-3.0-only+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.+ */+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) }++ fun with(list: String?, service: String) = if (has(list, service)) entries(list) else entries(list) + service++ fun without(list: String?, service: String) = entries(list).filterNot { full(it) == full(service) }++ private fun entries(list: String?) = list.orEmpty().trim().takeUnless { it == "null" }.orEmpty()+ .split(':').filter { it.isNotBlank() }++ /** `pkg/.Service` and `pkg/pkg.Service` name the same service. */+ private fun full(c: String) = c.substringAfter('/').let { cls ->+ c.substringBefore('/') + "/" + if (cls.startsWith('.')) c.substringBefore('/') + cls else cls+ }+}diff --git a/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt b/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.ktnew file mode 100644index 0000000..6c2bd57--- /dev/null+++ b/adb/src/test/kotlin/app/tellyscope/adb/HomeServicesTest.kt@@ -0,0 +1,70 @@+// SPDX-License-Identifier: GPL-3.0-only+package app.tellyscope.adb++import kotlinx.coroutines.test.runTest+import kotlin.test.Test+import kotlin.test.assertEquals+import kotlin.test.assertFalse+import kotlin.test.assertNull+import kotlin.test.assertTrue++class HomeServicesTest {+ private val projectivy = "com.spocky.projengmenu/.services.HomeService"++ @Test fun shortAndFullNamesAreTheSameService() {+ assertTrue(HomeServices.has("com.a/.A:com.spocky.projengmenu/com.spocky.projengmenu.services.HomeService", projectivy))+ assertFalse(HomeServices.has("null", projectivy))+ assertFalse(HomeServices.has("", projectivy))+ }++ @Test fun onAndOffKeepTheOtherServices() {+ assertEquals(listOf("com.a/.A", projectivy), HomeServices.with("com.a/.A\n", projectivy))+ assertEquals(listOf("com.a/.A", projectivy), HomeServices.with("com.a/.A:$projectivy", projectivy))+ assertEquals(listOf("com.a/.A"), HomeServices.without("com.a/.A:$projectivy", projectivy))+ assertEquals(emptyList(), HomeServices.without("null", projectivy))+ }++ private fun tv(enabled: String = "null") = FakeShell().apply {+ var list = enabled+ answer = { cmd ->+ when {+ cmd.startsWith(Commands.A11Y_SERVICES) -> ok("priority=0 preferredOrder=0\n$projectivy\ncom.other.app/.Reader\n")+ cmd.startsWith(Commands.A11Y_ON) -> ok("$list\n")+ cmd.startsWith("settings put secure enabled_accessibility_services") -> ok("").also { list = cmd.substringAfter("'").substringBefore("'") }+ cmd.startsWith("settings delete secure enabled_accessibility_services") -> ok("").also { list = "null" }+ else -> null+ }+ }+ }++ @Test fun onlyListedLaunchersGetTheirServiceTurnedOn() = 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"))+ }++ @Test fun turningItOnAndOffLeavesTheUsersServicesAlone() = runTest {+ val sh = tv("com.talkback/.Talk")+ val a = Actions(sh)+ assertTrue(a.setService(projectivy, on = true))+ assertTrue("settings put secure enabled_accessibility_services 'com.talkback/.Talk:$projectivy' 2>&1" in sh.ran)+ assertTrue("settings put secure accessibility_enabled 1 2>&1" in sh.ran)+ assertTrue(a.serviceOn(projectivy))++ assertTrue(a.setService(projectivy, on = false))+ assertTrue(sh.ran.last { "enabled_accessibility_services" in it && "put" in it }.endsWith("'com.talkback/.Talk' 2>&1"))+ assertFalse(a.serviceOn(projectivy))+ }++ @Test fun theLastServiceOffClearsTheSetting() = runTest {+ val sh = tv(projectivy)+ assertTrue(Actions(sh).setService(projectivy, on = false))+ assertTrue("settings delete secure enabled_accessibility_services 2>&1" in sh.ran)+ }++ @Test fun aTvThatIgnoresTheSettingIsReported() = runTest {+ val sh = FakeShell(mapOf(Commands.A11Y_ON to ok("null\n")))+ assertFalse(Actions(sh).setService(projectivy, on = true))+ }+}diff --git a/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt b/app/src/main/java/app/tellyscope/data/AdbDeviceSource.ktindex 6047be2..2e099e8 100644--- a/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt+++ b/app/src/main/java/app/tellyscope/data/AdbDeviceSource.kt@@ -415,6 +415,8 @@ class AdbDeviceSource(context: Context) : DeviceSource {// Undoing a home switch: the old launcher is on again, now make it Home again too.val switch = undoing?.let { id -> book.entries(key).firstOrNull { it.id == id && it.action == Action.Home } }val back = switch?.previous?.get("from")?.let { Actions(shell).setHome(it) }+ // The service the switch turned on was only there to hold Home.+ switch?.previous?.get("service")?.let { Actions(shell).setService(it, false) }book.record(deviceId = key,at = System.currentTimeMillis(),@@ -433,17 +435,25 @@ class AdbDeviceSource(context: Context) : DeviceSource {private suspend fun makeHome(deviceId: String, packageName: String, undoing: Long?): HistoryEntry {val key = key(deviceId)- return when (val r = Actions(session(deviceId)).makeHome(packageName)) {- is HomeResult.Switched -> book.record(- deviceId = key,- at = System.currentTimeMillis(),- action = Action.Home,- packageName = r.from.substringBefore('/'),- label = labels[packageName] ?: AppNames.fallback(packageName),- undo = Action.Enable,- undoing = undoing,- previous = mapOf("from" to r.from, "to" to r.to),- )+ val actions = Actions(session(deviceId))+ 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 on = service?.let { actions.setService(it, true) }+ val label = labels[packageName] ?: AppNames.fallback(packageName)+ book.record(+ deviceId = key,+ at = System.currentTimeMillis(),+ action = Action.Home,+ packageName = r.from.substringBefore('/'),+ label = label,+ undo = Action.Enable,+ undoing = undoing,+ // "service" only when this switch turned it on, so Undo turns off no more than that.+ previous = mapOf("from" to r.from, "to" to r.to) + listOfNotNull(service?.takeIf { on == true }?.let { "service" to it }),+ ).also { if (on == false) throw IllegalStateException(serviceNotOn(label)) }+ }is HomeResult.Refused -> throw IllegalStateException(reasonText(r.reason))is HomeResult.Failed -> throw IllegalStateException(r.output.ifEmpty { "the TV refused" })}@@ -463,17 +473,22 @@ class AdbDeviceSource(context: Context) : DeviceSource {?.let { homeBackTarget(it, book.entries(key), builtIns(system, disabled, options)) }?: throw IllegalStateException("there's no home screen to switch back to")return when (val r = Actions(shell).homeBack(target.pkg, target.activity)) {- is HomeResult.Switched -> book.record(- deviceId = key,- at = System.currentTimeMillis(),- action = Action.HomeBack,- packageName = added,- label = labels[target.pkg] ?: AppNames.fallback(target.pkg),- undo = Action.Home,- // The switch away from it is reversed now, so Restore leaves it alone.- undoing = undoing ?: target.reverses,- previous = mapOf("from" to r.from, "to" to r.to),- )+ 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 off = service?.let { Actions(shell).setService(it, false) }+ book.record(+ deviceId = key,+ at = System.currentTimeMillis(),+ action = Action.HomeBack,+ packageName = added,+ label = labels[target.pkg] ?: AppNames.fallback(target.pkg),+ undo = Action.Home,+ // The switch away from it is reversed now, so Restore leaves it alone.+ undoing = undoing ?: target.reverses,+ previous = mapOf("from" to r.from, "to" to r.to),+ ).also { if (off == false) throw IllegalStateException(serviceNotOff(labels[added] ?: AppNames.fallback(added))) }+ }is HomeResult.Refused -> throw IllegalStateException(reasonText(r.reason))is HomeResult.Failed -> throw IllegalStateException(r.output.ifEmpty { "the TV refused" })}@@ -699,6 +714,12 @@ class AdbDeviceSource(context: Context) : DeviceSource {else -> "closing"}+ private fun serviceNotOn(app: String) =+ "$app is Home now, but its accessibility service didn't turn on, so the TV's Home button may still open its own launcher"++ private fun serviceNotOff(app: String) =+ "switched back, but $app's accessibility service is still on. Turn it off in the TV's Settings → Accessibility"+private fun homeNotBack(app: String) ="turned $app back on, but the TV kept the other home screen. Press Home on the remote to pick $app"diff --git a/app/src/main/java/app/tellyscope/data/HistoryBook.kt b/app/src/main/java/app/tellyscope/data/HistoryBook.ktindex d73c1d2..be983d8 100644--- a/app/src/main/java/app/tellyscope/data/HistoryBook.kt+++ b/app/src/main/java/app/tellyscope/data/HistoryBook.kt@@ -46,9 +46,13 @@ class HistoryBook(private val file: File? = null) {undoing: Long? = null,previous: Map<String, String?>? = null,): HistoryEntry {- if (undoing != null) {- val i = entries.indexOfFirst { it.id == undoing }- if (i >= 0) entries[i] = entries[i].copy(undoneAt = at)+ val undone = undoing?.let { id -> entries.indexOfFirst { it.id == id } }?.takeIf { it >= 0 }+ // Undoing a switch makes the old launcher Home again: a home change like any switch.+ val takesHome = action == Action.Home || action == Action.HomeBack || undone?.let { entries[it].action == Action.Home } == true+ undone?.let { entries[it] = entries[it].copy(undoneAt = at) }+ if (takesHome) {+ // An older "Switched home back" would switch to a launcher that has since lost Home: its Undo goes.+ entries.replaceAll { if (it.deviceId == deviceId && it.action == Action.HomeBack && it.undoneAt == null) it.copy(undo = null) else it }}val entry = HistoryEntry((entries.maxOfOrNull { it.id } ?: 0) + 1, deviceId, at, action, packageName, label, undo, null, previous)entries += entrydiff --git a/app/src/main/java/app/tellyscope/ui/Copy.kt b/app/src/main/java/app/tellyscope/ui/Copy.ktindex 74b09dd..c61db26 100644--- a/app/src/main/java/app/tellyscope/ui/Copy.kt+++ b/app/src/main/java/app/tellyscope/ui/Copy.kt@@ -2,6 +2,7 @@package app.tellyscope.ui+import app.tellyscope.adb.HomeServicesimport app.tellyscope.adb.InstallKindimport app.tellyscope.adb.InstallRefusalimport app.tellyscope.adb.TvFolder@@ -76,8 +77,11 @@ 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, back: String) =- "Makes $back open when you press Home again, turning it back on if it's off. $added stays on. Undo in History makes $added Home again."+ fun explainHomeBack(added: String, addedPkg: String, back: String) = 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("Undo in History makes $added Home again.")+ }/** Where the lists come from, for the Debloat screen and the snackbar after a change. */fun listSource(custom: String?) =@@ -92,6 +96,10 @@ object Copy {fun explainHome(app: String, pkg: String, current: String, currentPkg: String) = 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) {+ 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.")+ }if (currentPkg in GOOGLE_HOMES) append("\n\nSome Google TV features, like the Apps row and the Live tab, are part of $current and go away with it.")}diff --git a/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt b/app/src/main/java/app/tellyscope/ui/DeviceScreen.ktindex dc37cd3..36a2f8a 100644--- a/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt+++ b/app/src/main/java/app/tellyscope/ui/DeviceScreen.kt@@ -430,7 +430,7 @@ internal fun AppRow(Text(when {proposed == Action.Home && home != null -> Copy.explainHome(app.label, app.packageName, homeLabel!!, home)- proposed == Action.HomeBack && back != null -> Copy.explainHomeBack(app.label, back)+ proposed == Action.HomeBack && back != null -> Copy.explainHomeBack(app.label, app.packageName, back)app.listKeep && proposed != Action.Enable -> Copy.explain(proposed, app.label, app.packageName) + "\n\n" + Copy.KEEP_WARNINGelse -> Copy.explain(proposed, app.label, app.packageName)},diff --git a/app/src/test/java/app/tellyscope/HistoryBookTest.kt b/app/src/test/java/app/tellyscope/HistoryBookTest.ktindex fae4816..eb06013 100644--- a/app/src/test/java/app/tellyscope/HistoryBookTest.kt+++ b/app/src/test/java/app/tellyscope/HistoryBookTest.kt@@ -61,6 +61,25 @@ class HistoryBookTest {assertTrue(after.restorable(tv).isEmpty())}+ @Test fun anOlderSwitchBackLosesItsUndoOnceANewerChangeTakesHome() {+ val file = tmp.root.resolve("history.tsv")+ val book = HistoryBook(file)+ val back = book.record(tv, 1_000, Action.HomeBack, "fr.neamar.kiss", "Quickstep", Action.Home)+ val elsewhere = book.record("tv-2", 1_000, Action.HomeBack, "fr.neamar.kiss", "Quickstep", Action.Home)+ book.record(tv, 2_000, Action.Disable, "com.netflix.ninja", "Netflix", Action.Enable)+ assertEquals(Action.Home, book.entries(tv).first { it.id == back.id }.undo) // not a home change++ val switch = book.record(tv, 3_000, Action.Home, "com.android.launcher3", "Fossify Launcher", Action.Enable)+ assertNull(HistoryBook(file).entries(tv).first { it.id == back.id }.undo)+ assertEquals(Action.Home, book.entries("tv-2").first { it.id == elsewhere.id }.undo)++ // Undoing a switch makes the old launcher Home again, so it counts too.+ val back2 = book.record(tv, 4_000, Action.HomeBack, "org.fossify.home", "Quickstep", Action.Home)+ assertEquals(Action.Home, book.entries(tv).first { it.id == back2.id }.undo)+ book.record(tv, 5_000, Action.Enable, "com.android.launcher3", "Quickstep", undo = null, undoing = switch.id)+ assertNull(book.entries(tv).first { it.id == back2.id }.undo)+ }+@Test fun baselineIsWrittenOnlyOnce() {val book = HistoryBook(tmp.root.resolve("history.tsv"))book.setBaseline(tv, setOf("com.old.off"))diff --git a/app/src/test/java/app/tellyscope/ScreenshotTest.kt b/app/src/test/java/app/tellyscope/ScreenshotTest.ktindex d8e21e1..37ba01f 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", "Google TV Home")).assertExists()+ compose.onNodeWithText(Copy.explainHomeBack("Projectivy Launcher", "com.spocky.projengmenu", "Google TV Home")).assertExists()}@Test fun apps_homeBack() = homeBack(false)@Test fun apps_homeBack_dark() = homeBack(true)