[Android] Save medialist changes for last playlist

Geoffrey Métais git at videolan.org
Tue Jan 16 11:32:37 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 16 11:32:12 2018 +0100| [2ab31264f5fc4541f82de836cd2e403c928be4e1] | committer: Geoffrey Métais

Save medialist changes for last playlist

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

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

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 3c80a19a6..d5697163e 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -808,6 +808,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
 
             determinePrevAndNextIndices();
             executeUpdate();
+            saveMediaList();
         }
 
         @Override
@@ -829,6 +830,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
                 mCurrentIndex--;
             determinePrevAndNextIndices();
             executeUpdate();
+            saveMediaList();
         }
 
         @Override
@@ -851,6 +853,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
 
             determinePrevAndNextIndices();
             executeUpdate();
+            saveMediaList();
         }
     };
 



More information about the Android mailing list