Commit 28b8b847 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix Uri encoding in Medialibrary.getMedia()

parent ac67de8e
......@@ -271,7 +271,7 @@ public class Medialibrary {
@Nullable
public MediaWrapper getMedia(Uri uri) {
final String vlcMrl = Tools.encodeVLCMrl(uri.toString());
final String vlcMrl = Tools.encodeVLCMrl(Uri.decode(uri.toString()));
return mIsInitiated && !TextUtils.isEmpty(vlcMrl) ? nativeGetMediaFromMrl(vlcMrl) : null;
}
......
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