Commit 45a77503 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix Uri encoding in getMedia()

parent 0e664955
......@@ -269,7 +269,7 @@ public class Medialibrary {
@Nullable
public MediaWrapper getMedia(Uri uri) {
final String vlcMrl = VLCUtil.encodeVLCUri(uri);
final String vlcMrl = Tools.encodeVLCMrl(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