[Android] Deactivate Renderers menu on TV

Geoffrey Métais git at videolan.org
Thu May 24 18:12:20 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu May 24 18:00:16 2018 +0200| [0bbd2ca902d671f10003d523d009780cccaaa448] | committer: Geoffrey Métais

Deactivate Renderers menu on TV

> https://code.videolan.org/videolan/vlc-android/commit/0bbd2ca902d671f10003d523d009780cccaaa448
---

 vlc-android/src/org/videolan/vlc/gui/ContentActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
index 2da5bca3b..f60087a45 100644
--- a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
@@ -61,7 +61,7 @@ public class ContentActivity extends AudioPlayerContainerActivity implements Sea
     @Override
     protected void initAudioPlayerContainerActivity() {
         super.initAudioPlayerContainerActivity();
-        if (!AndroidDevices.isChromeBook) {
+        if (!AndroidDevices.isChromeBook && !AndroidDevices.isAndroidTv) {
             RendererDelegate.INSTANCE.getSelectedRenderer().observe(this, new Observer<RendererItem>() {
                 @Override
                 public void onChanged(@Nullable RendererItem rendererItem) {



More information about the Android mailing list