[Android] Use dash separator

Robert Stone git at videolan.org
Wed Jul 27 08:03:11 UTC 2022


vlc-android | branch: master | Robert Stone <rhstone at gmail.com> | Mon Jul 18 22:32:00 2022 -0700| [4ca23d0e2053996280194408043f89ad5326c902] | committer: Nicolas Pomepuy

Use dash separator

Fixes #2605

> https://code.videolan.org/videolan/vlc-android/commit/4ca23d0e2053996280194408043f89ad5326c902
---

 .../vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt b/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
index 6cb9cc777..d593d6f2a 100644
--- a/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
+++ b/application/vlc-android/src/org/videolan/vlc/media/MediaSessionBrowser.kt
@@ -581,7 +581,7 @@ class MediaSessionBrowser : ExtensionManagerActivity {
                         when {
                             media.type == MediaWrapper.TYPE_STREAM -> media.uri.toString()
                             parentId.startsWith(ID_ALBUM) -> getMediaSubtitle(media)
-                            else -> TextUtils.separatedString(getMediaArtist(context, media), getMediaAlbum(context, media))
+                            else -> TextUtils.separatedString('-', getMediaArtist(context, media), getMediaAlbum(context, media))
                         }
                     }
                     MediaLibraryItem.TYPE_PLAYLIST -> res.getString(R.string.track_number, libraryItem.tracksCount)



More information about the Android mailing list