[Android] Fix media title encoding

Nicolas Pomepuy git at videolan.org
Mon Mar 16 16:05:59 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Mar 16 10:36:25 2020 +0100| [313c393469cc262dc593ce9a9166a1868d989a79] | committer: Nicolas Pomepuy

Fix media title encoding

Fixes #1147

> https://code.videolan.org/videolan/vlc-android/commit/313c393469cc262dc593ce9a9166a1868d989a79
---

 .../src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java b/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
index 98d086dd4..4e3af8ded 100644
--- a/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
+++ b/medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
@@ -312,7 +312,7 @@ public abstract class MediaWrapper extends MediaLibraryItem implements Parcelabl
         mWidth = width;
         mHeight = height;
 
-        mTitle = title != null ? Uri.decode(title.trim()) : null;
+        mTitle = title != null ? title.trim() : null;
         mArtist = artist != null ? artist.trim() : null;
         mGenre = genre != null ? genre.trim() : null;
         mAlbum = album != null ? album.trim() : null;



More information about the Android mailing list