[Android] Always group videos, no threshold anymore

Geoffrey Métais git at videolan.org
Tue Jun 6 18:00:15 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jun  6 17:57:29 2017 +0200| [f27336a2643d3e1818567f5baf98824a6170519e] | committer: Geoffrey Métais

Always group videos, no threshold anymore

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index f96256b31..3ca9653b6 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -358,7 +358,7 @@ public class VideoGridFragment extends MediaBrowserFragment implements MediaUpda
             public void run() {
                 final MediaWrapper[] itemList = mMediaLibrary.getVideos();
                 final ArrayList<MediaWrapper> displayList = new ArrayList<>();
-                if (mGroup != null || itemList.length <= 10) {
+                if (mGroup != null) {
                     for (MediaWrapper item : itemList) {
                         String title = item.getTitle().substring(item.getTitle().toLowerCase().startsWith("the") ? 4 : 0);
                         if (mGroup == null || title.toLowerCase().startsWith(mGroup.toLowerCase()))



More information about the Android mailing list