[Android] Revert "Unregister callback on playlist append"
Geoffrey Métais
git at videolan.org
Tue Jan 29 14:50:22 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 29 14:46:40 2019 +0100| [85cb857c164f84503f042b4ca6b2b9534a96f44b] | committer: Geoffrey Métais
Revert "Unregister callback on playlist append"
This reverts commit 78ffb088bb5eb676fe4db7510da375f87b10ed3d.
> https://code.videolan.org/videolan/vlc-android/commit/85cb857c164f84503f042b4ca6b2b9534a96f44b
---
vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt | 2 --
1 file changed, 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
index 6e3551108..e987fcaa1 100644
--- a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+++ b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
@@ -656,9 +656,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
return
}
val list = withContext(Dispatchers.IO) { list.getWithMLMeta() }
- mediaList.removeEventListener(this)
for (media in list) mediaList.add(media)
- mediaList.addEventListener(this)
}
/**
More information about the Android
mailing list