Repository navigation
android-v0.5.7
·
17 commits
to main
since this release
Add a "Stop hosting" action to the persistent hosting notification Until now there was no way to end a hosted game except force-closing the app; the ongoing notification had no action button, and neither MainActivity nor GameWebViewActivity exposed one either. This wires the notification's stop action to the existing HostForegroundService shutdown path (same one already used when switching to "join" mode), which already blocks new joins and kicks connected guests. MainActivity now also resets its "Hosting…" UI when hosting ends this way. Verified with a real debug build (assembleDebug, compileDebugKotlin) in a container; no physical device was available this session to verify the notification button live on-device. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>