Skip to content
Snippets Groups Projects
Commit 28b8b847 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix Uri encoding in Medialibrary.getMedia()

parent ac67de8e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment