[Android] Fix video player playlist drag and drop regression
Nicolas Pomepuy
git at videolan.org
Mon Sep 23 18:10:59 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Sep 23 14:37:57 2019 +0200| [db30a301c5b5ce15c789b5f7bf08f4362b11279f] | committer: Geoffrey Métais
Fix video player playlist drag and drop regression
Fixes #1045
(cherry picked from commit 45eac0ba335043b432f24790516670d745c471e4)
> https://code.videolan.org/videolan/vlc-android/commit/db30a301c5b5ce15c789b5f7bf08f4362b11279f
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 2 +-
1 file changed, 1 insertion(+), 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 89686ae44..72399cace 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -811,7 +811,7 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
hudRightBinding.playlistToggle.setOnClickListener(this at VideoPlayerActivity)
closeButton.setOnClickListener { togglePlaylist() }
- val callback = SwipeDragItemTouchHelperCallback(playlistAdapter)
+ val callback = SwipeDragItemTouchHelperCallback(playlistAdapter, true)
val touchHelper = ItemTouchHelper(callback)
touchHelper.attachToRecyclerView(playlist)
}
More information about the Android
mailing list