Closed luimu64 closed 3 weeks ago
The notification should be removed automatically as soon as you clear the app from recents while nothing is playing, so the bug occurs before you dismiss it manually. What's the behaviour when clearing the app without removing the notification manually?
Without clearing the notification manually it would linger indefinitely. I can't reproduce the bug anymore in the newest version so I guess whatever was changed in between 0.3.2 and 0.4.0 fixed this since nothing changed on the phone itself. Can still reproduce in the latest version after further testing, not sure why it didn't occur few first times I closed the app. After even further testing this is how it works now in 0.4.0:
The original issue is now seemingly fixed. Feel free to close this as completed or ask more info if you want to investigate the non-closing notification.
Checklist
Steps to reproduce
Expected behavior
Songs should play even after closing the app completely
Actual behavior
Songs do not play after closing the app completely. I need to restart the whole phone for spmp to start working again.
Screenshots / recordings
https://github.com/user-attachments/assets/e38f3bb5-f77a-43cd-b634-21f20a2a9c83
The first time there is sound, second time there isn't, forgot to record sound.
Logs
logcat.log
SpMp version
0.3.2
SpMp platform
Android
OS version
Android 11
Additional information
The recording and logs are from chinese phone called duoqin f22. The issue seems to kinda exist on my android 14 phone too but spmp recovers with simple restart of the app unlike on my f22. My uneducated guess would be that you need to check whether the session exists before trying to reuse it or just recreate it on app launch every time. I also tested whether this is purely a rom issue by playing something from cromite (privacy friendly chrome alternative) and doing the exact same steps and cromite always recovered.