Fix automatic Picture in Picture after session handoffs (#195)

Preserve session readiness for automatic picture in picture
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-04 04:24:25 +00:00
1 parent c176a0d6fa
commit 6b34c57c15
3 files changed
+12 -5

No files matched your search

@@ -907,7 +907,6 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback {
// whole process, so the second Play after a session ended used to re-attach the Surface,
// start nothing, and leave the loading panel counting up over a dead session.
if (!SessionState.running) {
CompositorHost.newSession()
SessionEvents.transition(SessionPhase.STARTING_GUEST, "guest.starting")
SessionService.start(
this, intent.getStringExtra(SessionService.EXTRA_MODE) ?: SessionService.MODE_STEAM,