[Android] Fix TV build

Jean-Baptiste Kempf git at videolan.org
Fri Jul 3 15:20:55 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  3 15:20:21 2015 +0200| [b7659a01b484e9762ed7438c3bfc90fe0edc181c] | committer: Jean-Baptiste Kempf

Fix TV build

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b7659a01b484e9762ed7438c3bfc90fe0edc181c
---

 .../org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
index 9474b5d..9b32674 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java
@@ -23,6 +23,8 @@ package org.videolan.vlc.gui.tv.audioplayer;
 import java.util.ArrayList;
 import java.util.Collections;
 
+import org.videolan.libvlc.Media;
+import org.videolan.libvlc.MediaPlayer;
 import org.videolan.vlc.MediaLibrary;
 import org.videolan.vlc.MediaWrapper;
 import org.videolan.vlc.PlaybackService;
@@ -154,12 +156,12 @@ public class AudioPlayerActivity extends PlaybackServiceActivity implements Play
     }
 
     @Override
-    public void onMediaPlayedAdded(MediaWrapper media, int index) {
+    public void onMediaEvent(Media.Event event) {
 
     }
 
     @Override
-    public void onMediaPlayedRemoved(int index) {
+    public void onMediaPlayerEvent(MediaPlayer.Event event) {
 
     }
 



More information about the Android mailing list