[Android] PlayerController: update 'newMedia' variable
Geoffrey Métais
git at videolan.org
Fri Mar 30 16:51:10 CEST 2018
vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar 12 11:59:18 2018 +0100| [dc56cd7dbb858701fcc8eddd8505c1996a4a86ce] | committer: Geoffrey Métais
PlayerController: update 'newMedia' variable
(cherry picked from commit c164267c4624a5a4a4752002d4de72cf013d9a2a)
> https://code.videolan.org/videolan/vlc-android/commit/dc56cd7dbb858701fcc8eddd8505c1996a4a86ce
---
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