[Android] Preserve case in video group name
Sébastien Toque
git at videolan.org
Wed May 16 11:16:57 CEST 2018
vlc-android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue May 8 10:43:31 2018 +0200| [2516df8bc0f6f5d230ef014f2294de3217b2ffde] | committer: Geoffrey Métais
Preserve case in video group name
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/2516df8bc0f6f5d230ef014f2294de3217b2ffde
---
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 97631211b..f65c025bd 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;
}
More information about the Android
mailing list