[Android] PlayerController: update 'newMedia' variable

Geoffrey Métais git at videolan.org
Mon Mar 12 12:00:21 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 12 11:59:18 2018 +0100| [c164267c4624a5a4a4752002d4de72cf013d9a2a] | committer: Geoffrey Métais

PlayerController: update 'newMedia' variable

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

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

diff --git a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
index e9bb7731c..7440148a2 100644
--- a/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
+++ b/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
@@ -654,6 +654,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
                     saveMediaList()
                     savePosition(true)
                     saveCurrentMedia()
+                    newMedia = false
                 }
             }
             MediaPlayer.Event.Paused -> medialibrary.resumeBackgroundOperations()



More information about the Android mailing list