Commit 645993f4 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix name display for scanned directories

parent 91613e91
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
*/ */
package org.videolan.vlc.gui.browser; package org.videolan.vlc.gui.browser;
import android.net.Uri;
import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView;
import android.text.TextUtils; import android.text.TextUtils;
import android.view.LayoutInflater; import android.view.LayoutInflater;
...@@ -195,7 +196,7 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH ...@@ -195,7 +196,7 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
} }
public String getName() { public String getName() {
return name; return Uri.decode(name);
} }
public void setName(String name) { public void setName(String name) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment