Skip to content
Snippets Groups Projects
Commit dfa68206 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

MediaBrowser: ignore case when comparing

parent 36155f6e
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,7 @@ public class MediaBrowser {
/* one item can be found by severals discoverers */
boolean found = false;
for (Media media : mDiscovererMediaArray) {
if (media.getUri().equals(mlEvent.media.getUri())) {
if (media.getUri().toString().equalsIgnoreCase(mlEvent.media.getUri().toString())) {
found = true;
break;
}
......
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