Files
tty7/mobile/src-tauri
l0ng-ai 83ef561a36 fix(mobile): keep the connection across a screen lock (#1104)
Back from the background the app now asks the machine whether the
connection still answers (Session::answers, up to 3s) and keeps its
streams when it does, instead of closing the pane and replaying it every
time. A dead connection is closed and dropped so the next dial starts
fresh rather than waiting out the idle timeout on it.

A dropped connection is retried quietly under the screen that is up; the
"Reconnecting" banner comes after 3s, or at once if a keystroke was lost.

iOS asks for the background task grace period on leaving, so a short
lock comes back to the same connection. Android runs a foreground
service (specialUse, with a "Connected to <host>" notification and a
partial wake lock) while a machine or pane screen is open.
2026-10-07 21:33:21 +08:00
..
2026-10-04 16:31:05 +08:00