[Android] Disable 'load last playlist' feature on Android TV

Geoffrey Métais git at videolan.org
Mon Jan 15 17:17:13 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jan 15 15:50:55 2018 +0100| [91dded7ecdc2f62ae484581a1b57e4d9dd9a5a3e] | committer: Geoffrey Métais

Disable 'load last playlist' feature on Android TV

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

 vlc-android/src/org/videolan/vlc/PlaybackService.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 6a1905781..5d34608b6 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1618,6 +1618,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
     }
 
     private void loadLastAudioPlaylist() {
+        if (AndroidDevices.isAndroidTv) return;
         if (mMedialibrary.isInitiated() && mLibraryReceiver == null)
             loadLastPlaylist(Constants.PLAYLIST_TYPE_AUDIO);
         else



More information about the Android mailing list