[Android] Fix TV build
Jean-Baptiste Kempf
git at videolan.org
Thu May 28 16:44:33 CEST 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 28 16:43:58 2015 +0200| [584cbdc318ca3144116f567586df7be1ccb5f8d0] | committer: Jean-Baptiste Kempf
Fix TV build
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=584cbdc318ca3144116f567586df7be1ccb5f8d0
---
vlc-android/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java | 2 +-
1 file changed, 1 insertion(+), 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 6496898..1736f92 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
@@ -114,7 +114,7 @@ public class MainTvActivity extends Activity implements IVideoBrowser, OnItemVie
/*
* skip browser and show directly Audio Player if a song is playing
*/
- if (VLCInstance.get().isPlaying()){
+ if (VLCInstance.getMainMediaPlayer().isPlaying()){
startActivity(new Intent(this, AudioPlayerActivity.class));
finish();
return;
More information about the Android
mailing list