[Android] Change insertion order in browser

Geoffrey Métais git at videolan.org
Thu May 7 16:29:26 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May  7 16:10:08 2015 +0200| [94d01c316f3cbc82e0cfa7f99e8e7789b9488e7c] | committer: Geoffrey Métais

Change insertion order in browser

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=94d01c316f3cbc82e0cfa7f99e8e7789b9488e7c
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index c0568e3..f88ef11 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -202,7 +202,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
 
     @Override
     public void onMediaAdded(int index, Media media) {
-        mAdapter.addItem(media, mReadyToDisplay && mRoot, true);
+        mAdapter.addItem(media, mReadyToDisplay && mRoot, mRoot);
         if (mReadyToDisplay)
             updateEmptyView();
         if (mRoot)



More information about the Android mailing list