[Android] Preserve case in video group name
Sébastien Toque
git at videolan.org
Wed May 16 11:17:35 CEST 2018
vlc-android | branch: 3.0.x | Sébastien Toque <xilasz at gmail.com> | Tue May 8 10:43:31 2018 +0200| [866686aca2e3f0adedfe64ac5e0fb4c611c16731] | committer: Geoffrey Métais
Preserve case in video group name
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
(cherry picked from commit 2516df8bc0f6f5d230ef014f2294de3217b2ffde)
> https://code.videolan.org/videolan/vlc-android/commit/866686aca2e3f0adedfe64ac5e0fb4c611c16731
---
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