mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-17 23:55:21 +01:00
Release PlaybackManager when quitting MusicService
This commit is contained in:
parent
165d180fe6
commit
1033711357
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ class MusicService : MediaBrowserServiceCompat(),
|
|||
pause()
|
||||
stopForeground(true)
|
||||
notificationManager?.cancel(PlayingNotification.NOTIFICATION_ID)
|
||||
playbackManager.closeAudioEffectSession()
|
||||
playbackManager.release()
|
||||
audioManager?.abandonAudioFocus(audioFocusListener)
|
||||
stopSelf()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue