[Android] TV: Do not automatically start AudioPlayerActivity

Geoffrey Métais git at videolan.org
Thu Jan 14 17:31:34 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 14 14:53:22 2016 +0100| [72b57b5f456c576c7902c6fe63097b884185c44a] | committer: Geoffrey Métais

TV: Do not automatically start AudioPlayerActivity

> https://code.videolan.org/videolan/vlc-android/commit/72b57b5f456c576c7902c6fe63097b884185c44a
---

 .../flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
index 0aab298..492198a 100644
--- a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
+++ b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/MainTvActivity.java
@@ -153,12 +153,7 @@ public class MainTvActivity extends BaseTvActivity implements IVideoBrowser, OnI
         /*
          * skip browser and show directly Audio Player if a song is playing
          */
-        if (service.isPlaying()) {
-            if (!service.canSwitchToVideo())
-                startActivity(new Intent(this, AudioPlayerActivity.class));
-            finish();
-        } else
-            updateList();
+        updateList();
     }
 
     @Override



More information about the Android mailing list