[Android] TV: Show last added videos on main screen

Geoffrey Métais git at videolan.org
Thu Jun 8 16:05:10 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun  8 16:04:39 2017 +0200| [a47acd15cedfcf5e776d6edcaf6848813216d189] | committer: Geoffrey Métais

TV: Show last added videos on main screen

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

 vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java b/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
index 95115aa30..b6234b018 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
@@ -420,7 +420,7 @@ public class MainTvActivity extends BaseTvActivity implements OnItemViewSelected
         protected Void doInBackground(Void... params) {
             if (isCancelled())
                 return null;
-            videoList = mMediaLibrary.getVideos();
+            videoList = mMediaLibrary.getRecentVideos();
             if (showHistory && !isCancelled())
                 history = VLCApplication.getMLInstance().lastMediaPlayed();
             return null;



More information about the Android mailing list