[Android] Update favorites only at root level

Geoffrey Métais git at videolan.org
Wed Feb 11 16:37:48 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 11 16:37:23 2015 +0100| [d313cfd59bd384552515db302d2d1d83ad5146a6] | committer: Geoffrey Métais

Update favorites only at root level

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java b/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java
index dbb0048..ffe88e0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java
@@ -230,7 +230,7 @@ public class NetworkFragment extends BrowserFragment implements IRefreshable, Me
             mMediaBrowser = new MediaBrowser(mLibVLC, this);
         if (mAdapter.isEmpty())
             refresh();
-        else
+        else if (mRoot)
             updateFavorites();
     }
 



More information about the Android mailing list