[Android] Remove useless saveMediaList() calls
Geoffrey Métais
git at videolan.org
Wed Nov 8 15:53:01 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 8 15:52:36 2017 +0100| [8d12a596a83d8d82ea70e95e82d3b81c61c83669] | committer: Geoffrey Métais
Remove useless saveMediaList() calls
> https://code.videolan.org/videolan/vlc-android/commit/8d12a596a83d8d82ea70e95e82d3b81c61c83669
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index bb5f4b8e5..5d20cd9f3 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1060,7 +1060,6 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
removePopup();
if (mMediaPlayer == null)
return;
- saveMediaList();
savePosition();
final Media media = mMediaPlayer.getMedia();
if (media != null) {
@@ -1918,7 +1917,6 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
@MainThread
public void load(List<MediaWrapper> mediaList, int position) {
//Save previous list if any
- saveMediaList();
savePosition();
Log.v(TAG, "Loading position " + ((Integer) position).toString() + " in " + mediaList.toString());
More information about the Android
mailing list