[Android] Save current playlist on load
Geoffrey Métais
git at videolan.org
Wed Nov 8 15:19:30 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 8 15:18:41 2017 +0100| [3e26fddcc2be690dafc306b3ae69779440058774] | committer: Geoffrey Métais
Save current playlist on load
> https://code.videolan.org/videolan/vlc-android/commit/3e26fddcc2be690dafc306b3ae69779440058774
---
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