[Android] Proper title in NetworkBrowser

Geoffrey Métais git at videolan.org
Wed Mar 11 17:27:11 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 11 16:51:48 2015 +0100| [52b84b21f82ffbfc85a0404316a38617f78f58fa] | committer: Geoffrey Métais

Proper title in NetworkBrowser

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

 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 09a4e93..14b107f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/network/NetworkFragment.java
@@ -130,7 +130,7 @@ public class NetworkFragment extends BrowserFragment implements IRefreshable, Me
         if (mRoot)
             return getString(R.string.network_browsing);
         else
-            return Strings.getName(mMrl);
+            return new MediaWrapper(mMrl).getTitle();
     }
 
     public boolean isRootDirectory(){



More information about the Android mailing list