Skip to content
Snippets Groups Projects
Commit c65af058 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix app notification removal

parent b731f21d
No related branches found
No related tags found
No related merge requests found
......@@ -586,7 +586,7 @@ class PlaybackService : MediaBrowserServiceCompat() {
fun onMediaPlayerEvent(event: MediaPlayer.Event) = mediaPlayerListener.onEvent(event)
fun onPlaybackStopped(systemExit: Boolean) {
if (!systemExit) hideNotification(VLCApplication.isForeground())
if (!systemExit) hideNotification(isForeground)
removePopup()
if (wakeLock.isHeld) wakeLock.release()
audioFocusHelper.changeAudioFocus(false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment