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.

Check for updates every 30 minutes on release builds

jesse-agent-232a60b2e774b93
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74bae03..96e7265 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,8 @@ until this file has a section for its version.
## Unreleased
+- **Improved:** Checks for a new version every 30 minutes, not 6 hours. [#53](../../pull/53)
+
## 0.2.1 — 2026-10-23
- **Fixed:** Wireless-debugging TVs ask for the pairing code instead of looping on Allow. [#50](../../pull/50)
diff --git a/README.md b/README.md
index 249feca..e3d8563 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ Tellyscope needs a phone on Android 8.0 or newer, on the same Wi-Fi as the TV, a
## Is it safe?
-- **Small and private.** Under 3 MB. No ads, no tracking, no accounts. It makes two internet requests: one fetches the debloat lists from this project's GitHub, or from your own fork if you point it there; the other asks GitHub every 6 hours whether a newer version is out, and you can turn it off in Settings. Everything else stays on your Wi-Fi. Turning on Private DNS changes where the *TV* looks up addresses, not what the app sends.
+- **Small and private.** Under 3 MB. No ads, no tracking, no accounts. It makes two internet requests: one fetches the debloat lists from this project's GitHub, or from your own fork if you point it there; the other asks GitHub every 30 minutes whether a newer version is out, and you can turn it off in Settings. Everything else stays on your Wi-Fi. Turning on Private DNS changes where the *TV* looks up addresses, not what the app sends.
- **Reversible.** Apps that came with the TV are only ever disabled, never uninstalled, so nothing is deleted. Apps you installed yourself can also be uninstalled, after a confirm that says it can't be undone. Every change goes into History, all but Uninstall with an Undo, and **Restore everything** turns back on all it turned off.
- **Protected list.** Apps the TV needs to start, update, stay on Wi-Fi, show its home screen or take input can't be stopped or disabled. They sit in their own **Can't be changed** section under Apps. There is no override.
- **You see it first.** Debloat shows every app it will turn off, and the confirm names each one before anything runs.
diff --git a/app/src/main/java/app/tellyscope/data/UpdateCheck.kt b/app/src/main/java/app/tellyscope/data/UpdateCheck.kt
index df70f2d..1d77819 100644
--- a/app/src/main/java/app/tellyscope/data/UpdateCheck.kt
+++ b/app/src/main/java/app/tellyscope/data/UpdateCheck.kt
@@ -13,15 +13,15 @@ import java.util.Properties
const val RELEASES = "https://github.com/man15h/tellyscope/releases"
private const val RELEASES_API = "https://api.github.com/repos/man15h/tellyscope/releases?per_page=20"
-/** How long a check counts for: release builds ask every 6 hours, alpha builds every 5 minutes for testing. */
-private const val RELEASE_INTERVAL_MS = 6 * 60 * 60 * 1000L
+/** How long a check counts for: release builds ask every 30 minutes, alpha builds every 5 minutes for testing. */
+private const val RELEASE_INTERVAL_MS = 30 * 60 * 1000L
private const val ALPHA_INTERVAL_MS = 5 * 60 * 1000L
/** A newer Tellyscope than the one running. */
data class Update(val version: String, val notes: String, val url: String)
/**
- * Asks GitHub, at most every 6 hours (5 minutes on alpha builds), whether a newer release is out. No auth and no download: it
+ * Asks GitHub, at most every 30 minutes (5 minutes on alpha builds), whether a newer release is out. No auth and no download: it
* only reads the release list. Off switch, last check and a skipped version live in [file].
* Release builds look at full releases only; alpha builds at `-alpha` pre-releases too.
*/
diff --git a/app/src/main/java/app/tellyscope/ui/SettingsScreen.kt b/app/src/main/java/app/tellyscope/ui/SettingsScreen.kt
index 40f2bb0..7778b31 100644
--- a/app/src/main/java/app/tellyscope/ui/SettingsScreen.kt
+++ b/app/src/main/java/app/tellyscope/ui/SettingsScreen.kt
@@ -49,7 +49,7 @@ fun SettingsScreen(
onListSource: (String?) -> Unit,
/** Null hides the switch: this build doesn't check (screenshots). */
checkUpdates: Boolean?,
- /** Alpha builds check every 5 minutes, release builds every 6 hours. */
+ /** Alpha builds check every 5 minutes, release builds every 30 minutes. */
alphaBuild: Boolean,
onCheckUpdates: (Boolean) -> Unit,
back: () -> Unit,
@@ -95,7 +95,7 @@ fun SettingsScreen(
Column(Modifier.weight(1f)) {
Text("Check for updates", style = MaterialTheme.typography.titleSmall)
Text(
- (if (alphaBuild) "Every 5 minutes on alpha builds" else "Every 6 hours") +
+ (if (alphaBuild) "Every 5 minutes on alpha builds" else "Every 30 minutes") +
", ask GitHub whether a newer Tellyscope is out. Nothing is downloaded.",
style = MaterialTheme.typography.bodyMedium,
)
diff --git a/app/src/main/java/app/tellyscope/ui/TellyscopeViewModel.kt b/app/src/main/java/app/tellyscope/ui/TellyscopeViewModel.kt
index 1a026b0..5ac3872 100644
--- a/app/src/main/java/app/tellyscope/ui/TellyscopeViewModel.kt
+++ b/app/src/main/java/app/tellyscope/ui/TellyscopeViewModel.kt
@@ -129,7 +129,7 @@ data class UiState(
val listSource: String? = null,
/** The once-a-day look at GitHub for a newer release; null when this build has none (screenshots, tests). */
val checkUpdates: Boolean? = null,
- /** An alpha build, which checks every 5 minutes rather than every 6 hours. */
+ /** An alpha build, which checks every 5 minutes rather than every 30 minutes. */
val alphaBuild: Boolean = false,
/** A newer release to offer; cleared once the user answers. */
val update: Update? = null,
diff --git a/app/src/test/java/app/tellyscope/UpdateCheckTest.kt b/app/src/test/java/app/tellyscope/UpdateCheckTest.kt
index f9c3084..bd5c272 100644
--- a/app/src/test/java/app/tellyscope/UpdateCheckTest.kt
+++ b/app/src/test/java/app/tellyscope/UpdateCheckTest.kt
@@ -75,15 +75,15 @@ class UpdateCheckTest {
assertNull(check.check())
}
- @Test fun `a release build asks again after 6 hours, not before`() = runTest {
+ @Test fun `a release build asks again after 30 minutes, not before`() = runTest {
var now = 1_000_000L
var calls = 0
val check = UpdateCheck(tmp.newFile(), "0.1.0", alpha = false, clock = { now }) { calls++; releases(release("v0.2.0")).toByteArray() }
assertEquals("0.2.0", check.check()?.version)
- now += 6 * hour - minute
+ now += 30 * minute - 1
assertNull(check.check())
assertEquals(1, calls)
- now += minute
+ now += 1
assertEquals("0.2.0", check.check()?.version)
assertEquals(2, calls)
}