[Android] Save current playlist on load

Geoffrey Métais git at videolan.org
Wed Nov 8 15:19:07 CET 2017


vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov  8 15:18:41 2017 +0100| [e3c36b6a2437553ec8890aa7242ebbf090fa4b7b] | committer: Geoffrey Métais

Save current playlist on load

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

 vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 1b84b6c9b..bb5f4b8e5 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1950,6 +1950,8 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
         playIndex(mCurrentIndex, 0);
         onMediaChanged();
         updateMediaQueue();
+        saveMediaList();
+        savePosition(true);
     }
 
     private void updateMediaQueue() {



More information about the Android mailing list