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

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


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

Disable 'load last playlist' feature on Android TV

(cherry picked from commit 91dded7ecdc2f62ae484581a1b57e4d9dd9a5a3e)

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

 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 f1cd5467e..540100852 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1638,6 +1638,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
     }
 
     private void loadLastAudioPlaylist() {
+        if (AndroidDevices.isAndroidTv) return;
         if (mMedialibrary.isInitiated() && mLibraryReceiver == null)
             loadLastPlaylist(TYPE_AUDIO);
         else



More information about the Android mailing list