From 652465910dcdcc761aa2e078ff1a82625e2a0aa5 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 4 Oct 2026 22:46:00 +0200 Subject: feat(android): music keeps playing with the screen off While a track plays, the page asks the shell to stay awake (playback:keep-alive): on Android the cast's foreground service and visible WebView, with a notification; on desktop a power save blocker. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-android/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/meshbay-android/README.md') diff --git a/packages/meshbay-android/README.md b/packages/meshbay-android/README.md index 85e2406..bfd82cf 100644 --- a/packages/meshbay-android/README.md +++ b/packages/meshbay-android/README.md @@ -24,7 +24,9 @@ found and driven through the platform cast SDK with the default media receiver. While a cast runs, a media-playback foreground service holds the CPU and the Wi-Fi, and the WebView is kept reported visible — without that, Chromium freezes the page 60 s after the screen goes off. Where play services are -absent, the page is offered no cast at all. +absent, the page is offered no cast at all. Music playing on the phone itself +holds the same service and the same visibility, for as long as it plays +(`playback:keep-alive`), so the next track still loads with the screen off. ```bash # needs JDK 17+ and an Android SDK (ANDROID_HOME, or sdk.dir in local.properties) -- cgit v1.2.3