mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Keep the media service foreground while paused, release CPU wake locks on pause, and demote the service on stop. Await native state publication before requesting audio focus, honor focus denial, and apply the initial MediaPlayer wake mode. Validated with 141 playback tests and an Android 17 screen-off pause, resume, and stop integration test.