This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed an issue causing the service to shutdown while music is playing..
- Fixed an issue where playback wouldn't start if the queue wasn't yet loaded - If play() is called while the queue is currently reloading, the service shutdown isn't cancelled (because nothing is playing). When play() eventually is called after the reload is complete, we are now cancelling shutdown. - releaseServiceUIAndStop() now checks whether any music is currently playing, or if music is scheduled to be playing in the near future (like, when a phone call ends), and won't shutdown under these circumstances. Resolves #358 Possible fix for #343
- Loading branch information
Showing
3 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters