[Android] Fix removing a video player playlist item

Nicolas Pomepuy git at videolan.org
Wed Jul 24 15:18:08 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Jul 19 12:38:48 2019 +0200| [8be45132c45c4981b429867e485c21d14a996d4c] | committer: Geoffrey Métais

Fix removing a video player playlist item

> https://code.videolan.org/videolan/vlc-android/commit/8be45132c45c4981b429867e485c21d14a996d4c
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index ebe617303..1d628ea00 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1733,7 +1733,6 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
 
         popupMenu.setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener { item ->
             if (item.itemId == R.id.audio_player_mini_remove) service?.run {
-                playlistAdapter.remove(position)
                 remove(position)
                 return at OnMenuItemClickListener true
             }



More information about the Android mailing list