[Android] Fix build for TV

Geoffrey Métais git at videolan.org
Fri Dec 19 17:42:33 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Dec 19 17:41:18 2014 +0100| [841c366e7d9739265be8a8dd23a600606901536c] | committer: Geoffrey Métais

Fix build for TV

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

 vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java       |    2 +-
 .../src/org/videolan/vlc/gui/tv/audioplayer/AudioPlayerActivity.java |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
index e032b32..7616db8 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
@@ -255,7 +255,7 @@ public class MainTvActivity extends Activity implements VideoBrowserInterface {
                     mVideoIndex.put(item.getLocation(), i);
                 }
                 // Empty item to launch grid activity
-                mVideoAdapter.add(new Media(null, 0, 0, Media.TYPE_GROUP, null, "Browse more", null, null, null, 0, 0, null, 0, 0, 0));
+                mVideoAdapter.add(new Media(null, 0, 0, Media.TYPE_GROUP, null, "Browse more", null, null, null, null, 0, 0, null, 0, 0, 0));
 
                 HeaderItem header = new HeaderItem(HEADER_VIDEO, getString(R.string.video), null);
                 mRowsAdapter.add(new ListRow(header, mVideoAdapter));
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 dd7d4c5..f7ec307 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
@@ -25,6 +25,7 @@ import org.videolan.libvlc.Media;
 import org.videolan.vlc.MediaLibrary;
 import org.videolan.vlc.R;
 import org.videolan.vlc.audio.AudioServiceController;
+import org.videolan.vlc.gui.DividerItemDecoration;
 import org.videolan.vlc.gui.audio.AudioUtil;
 import org.videolan.vlc.interfaces.IAudioPlayer;
 import org.videolan.vlc.util.AndroidDevices;



More information about the Android mailing list