[Android] Remove early call of saveCurrentMedia()

Geoffrey Métais git at videolan.org
Tue Feb 19 15:12:36 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 11 17:17:47 2019 +0100| [c13dd132d00e0733bb0797271fa87594743ba65b] | committer: Geoffrey Métais

Remove early call of saveCurrentMedia()

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

 vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
index 712c686e2..89fe46327 100644
--- a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+++ b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
@@ -324,7 +324,6 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
                 }
                 if (id != 0L) medialibrary.increasePlayCount(id)
             }
-            saveCurrentMedia()
         } else { //Start VideoPlayer for first video, it will trigger playIndex when ready.
             player.stop()
             VideoPlayerActivity.startOpened(ctx, mw.uri, currentIndex)



More information about the Android mailing list