[Android] fix tv build
Thomas Guillem
git at videolan.org
Tue Jun 9 12:01:40 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jun 9 12:01:35 2015 +0200| [4b0c86977fbae9ad04a0637ad16dc47231b6774d] | committer: Thomas Guillem
fix tv build
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4b0c86977fbae9ad04a0637ad16dc47231b6774d
---
vlc-android/tv/src/org/videolan/vlc/gui/tv/TvUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/TvUtil.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/TvUtil.java
index 2c2dae1..3469858 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/TvUtil.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/TvUtil.java
@@ -38,7 +38,7 @@ public class TvUtil {
if (item instanceof MediaWrapper) {
MediaWrapper mediaWrapper = (MediaWrapper) item;
if (mediaWrapper.getType() == MediaWrapper.TYPE_VIDEO) {
- VideoPlayerActivity.start(activity, mediaWrapper.getLocation(), Strings.getMediaTitle(mediaWrapper));
+ VideoPlayerActivity.start(activity, mediaWrapper.getUri(), Strings.getMediaTitle(mediaWrapper));
} else if (mediaWrapper.getType() == MediaWrapper.TYPE_AUDIO) {
Intent intent = new Intent(activity,
DetailsActivity.class);
More information about the Android
mailing list