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 the Remote's keyboard up when a key is tapped
jesse-agent-232b55efbf2bec8
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 86467fc..8cdc5c0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -16,7 +16,7 @@ until this file has a section for its version.- **Fixed:** On Fire TV, the Home screen card shows Projectivy as Current once it holds Home. [#249](../../pull/249)- Switching back to Amazon's launcher turns Projectivy's accessibility service off.- Apps without a name of their own no longer show a class name.-- **Fixed:** On the Remote, tapping outside the text box closes the keyboard again. [#250](../../pull/250)+- **Fixed:** On the Remote, a tap on empty space closes the keyboard; keys leave it up. [#250](../../pull/250)## 0.13.0 — 2026-10-29diff --git a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt b/app/src/main/java/app/tellyscope/ui/RemoteScreen.ktindex 49336fe..a55975a 100644--- a/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt+++ b/app/src/main/java/app/tellyscope/ui/RemoteScreen.kt@@ -260,8 +260,8 @@ fun RemoteScreen() {// The sheet is its own window, so the text box's focus lives here, not in the screen's.val focus = LocalFocusManager.current- // A tap anywhere else puts the keyboard away once the finger lifts, so nothing moves under a- // press; the key that was tapped still does its job. Watched on the way down, never consumed.+ // A tap on empty space puts the keyboard away once the finger lifts. Keys and buttons consume+ // their lift, so the D-pad can move through results with the keyboard still up. Never consumed here.Box(Modifier.fillMaxSize().onGloballyPositioned { origin = it.positionInWindow() }@@ -270,8 +270,8 @@ fun RemoteScreen(awaitEachGesture {val down = awaitFirstDown(requireUnconsumed = false, pass = PointerEventPass.Initial)if (field.contains(origin + down.position)) return@awaitEachGesture- // Null when something else took the gesture, a drag of the sheet: leave the keyboard be.- if (waitForUpOrCancellation(PointerEventPass.Initial) != null) focus.clearFocus()+ // Null when something else took the lift (a key, a button, a drag of the sheet): leave the keyboard be.+ if (waitForUpOrCancellation(PointerEventPass.Final) != null) focus.clearFocus()}},) {@@ -485,7 +485,8 @@ private fun KeySurface(if (haptics) haptic.performHapticFeedback(HapticFeedbackType.VirtualKey)var held = truescope.launch { repeatWhileHeld(key, { held }, press = press) }- waitForUpOrCancellation()+ // Consumed so the Remote knows a key took the tap and keeps the keyboard up.+ waitForUpOrCancellation()?.consume()held = falseinteractions.tryEmit(PressInteraction.Release(p))}