Skip to content
Snippets Groups Projects
Commit 3480b869 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix the MediaWrapper constructor from IMedia uri encoding

It is causing uri mismatches when comparing MediaWrapper coming from
the medialibrary and others coming from the file browser.

Fixes #2816
parent a6a21bb5
No related branches found
No related tags found
1 merge request!1702Bump the aar artifacts
......@@ -224,7 +224,7 @@ public abstract class MediaWrapper extends MediaLibraryItem implements Parcelabl
if (media == null)
throw new NullPointerException("media was null");
mUri = media.getUri();
mUri = Uri.parse(VLCUtil.encodeVLCUri(media.getUri()));
init(media);
}
......
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