[Android] Remove useless saveMediaList() calls
Geoffrey Métais
git at videolan.org
Wed Nov 8 16:03:04 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Nov 8 15:52:36 2017 +0100| [1ab947d7d2ba6c7d432380f434f82ba892e2fa5f] | committer: Geoffrey Métais
Remove useless saveMediaList() calls
(cherry picked from commit 8d12a596a83d8d82ea70e95e82d3b81c61c83669)
> https://code.videolan.org/videolan/vlc-android/commit/1ab947d7d2ba6c7d432380f434f82ba892e2fa5f
---
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