[Android] Fix audio play from search
Geoffrey Métais
git at videolan.org
Thu Apr 16 17:31:56 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr 16 17:08:37 2015 +0200| [0572e4140371e936f0a4e2e84f5ab9c10b1516e0] | committer: Geoffrey Métais
Fix audio play from search
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0572e4140371e936f0a4e2e84f5ab9c10b1516e0
---
vlc-android/src/org/videolan/vlc/util/Util.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/Util.java b/vlc-android/src/org/videolan/vlc/util/Util.java
index f1571e7..c13e653 100644
--- a/vlc-android/src/org/videolan/vlc/util/Util.java
+++ b/vlc-android/src/org/videolan/vlc/util/Util.java
@@ -204,7 +204,7 @@ public class Util {
public static void openMedia(Context context, final MediaWrapper media){
if (media == null)
return;
- String mrl = Uri.decode(media.getLocation());
+ String mrl = media.getLocation();
if (media.getType() == MediaWrapper.TYPE_VIDEO)
VideoPlayerActivity.start(context, mrl, media.getTitle());
else if (media.getType() == MediaWrapper.TYPE_AUDIO)
More information about the Android
mailing list