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.

TvAccess.of: say plainly which connections are left out

jesse-agent-8217f2c53a9775d
diff --git a/app/src/main/java/app/tellyscope/data/TvAccess.kt b/app/src/main/java/app/tellyscope/data/TvAccess.kt
index f87880d..736702b 100644
--- a/app/src/main/java/app/tellyscope/data/TvAccess.kt
+++ b/app/src/main/java/app/tellyscope/data/TvAccess.kt
@@ -44,9 +44,11 @@ data class TvAccess(
* [known]: the keys this TV was seen to allow before, null on the first read, when every key
* counts as known. A key that isn't is [AccessKey.new].
*
- * When the allowed keys are read and none is another computer's, only this phone and a
- * [AccessClient.Who.Waiting] connection are listed: nothing else can be in, and the TV
- * doesn't say whether the rest were refused or are still asking.
+ * Leftover connections: when the TV's allowed list can be read and holds only this phone's
+ * key, only this phone and a [AccessClient.Who.Waiting] connection are listed. Any other open
+ * connection was never saved as allowed. It's left over from a Deny, a closed prompt or a
+ * revoke, and the TV doesn't say which, so it is left out. One gap: a computer let in without
+ * "Always allow" isn't saved either, so it is left out too.
*/
fun of(
clients: List<AdbClient>?,