[Android] Use super class code

Geoffrey Métais git at videolan.org
Tue Feb 16 12:30:05 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 16 12:27:27 2016 +0100| [2f03005b68067924e98e2ce269ddb0d5e0753f5d] | committer: Geoffrey Métais

Use super class code

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

 .../src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java      | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
index 22c5985..5c41253 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
@@ -42,7 +42,6 @@ import org.videolan.vlc.gui.dialogs.NetworkServerDialog;
 import org.videolan.vlc.media.MediaDatabase;
 import org.videolan.vlc.media.MediaWrapper;
 import org.videolan.vlc.util.AndroidDevices;
-import org.videolan.vlc.util.Util;
 
 import java.util.ArrayList;
 
@@ -105,8 +104,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment implements View.
     protected void updateDisplay() {
         if (mRoot)
             updateFavorites();
-        mAdapter.notifyDataSetChanged();
-        parseSubDirectories();
+        super.updateDisplay();
     }
 
     @Override



More information about the Android mailing list