Files
DroidDeck/app
MaxsTechReview 84b7295f11 fix(session): keep the session awake while a browser hand-off is pending (#2615)
* fix(session): keep the session awake while a browser hand-off is pending

When a program in the session opens a link in the Android browser, the
session view goes to the background and auto or manual suspend froze the
session within a couple of seconds. Programs that wait for the browser to
call back to a local listener (external sign-in flows) were frozen before
the callback arrived, so the sign-in never completed, and the session then
needed a tap to continue.

An open-url request now starts a browser hand-off that counts as a visible
surface until the session view comes back to the front or ten minutes pass.
Ordinary backgrounding still suspends as before.

* fix(session): hold through a display power change and only after the browser opens
2026-11-14 10:58:06 -05:00
..