[Android] [PATCH] Preserve case in video group name
Sébastien Toque
xilasz at gmail.com
Tue May 8 10:43:31 CEST 2018
---
vlc-android/src/org/videolan/vlc/media/MediaGroup.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/media/MediaGroup.java b/vlc-android/src/org/videolan/vlc/media/MediaGroup.java
index 9763121..f65c025 100644
--- a/vlc-android/src/org/videolan/vlc/media/MediaGroup.java
+++ b/vlc-android/src/org/videolan/vlc/media/MediaGroup.java
@@ -120,7 +120,7 @@ public class MediaGroup extends MediaWrapper {
mediaGroup.add(media);
} else {
// not the same prefix, but close : merge
- mediaGroup.merge(media, group.substring(0, commonLength+groupOffset));
+ mediaGroup.merge(media, mediaGroup.getTitle().substring(0, commonLength+groupOffset));
}
return;
}
--
2.7.4
More information about the Android
mailing list