Found in the 0.2.2 release check on a Galaxy S21 (Android 14), 2026-09-24. The drum machine runs from android.py --modules drum_seq examples/drum_machine/drum_machine.py, and Back closes its window (0.2.1's #16 / 0.2.2's #18). But :service_mediaplayback stays up as a foreground service afterwards: a persistent notification and a process left behind. After piano, which starts no media service, nothing is left running.
The service belongs to the audio path: it's the foreground service audiodev.android_audio requests for media focus. When the app quits, whether by Back or any other path, the Runner should stop it before finishing the Activity. Check that the quit path in boot.py (#16) also stops the media-playback service, and that an example quitting on its own does the same. Verify with adb shell dumpsys activity services org.pydevices.runner after Back.
Found in the 0.2.2 release check on a Galaxy S21 (Android 14), 2026-09-24. The drum machine runs from
android.py --modules drum_seq examples/drum_machine/drum_machine.py, and Back closes its window (0.2.1's #16 / 0.2.2's #18). But:service_mediaplaybackstays up as a foreground service afterwards: a persistent notification and a process left behind. After piano, which starts no media service, nothing is left running.The service belongs to the audio path: it's the foreground service
audiodev.android_audiorequests for media focus. When the app quits, whether by Back or any other path, the Runner should stop it before finishing the Activity. Check that the quit path in boot.py (#16) also stops the media-playback service, and that an example quitting on its own does the same. Verify withadb shell dumpsys activity services org.pydevices.runnerafter Back.