[Android] Always show Video and Audio menu entries

Geoffrey Métais git at videolan.org
Wed Feb 20 16:37:46 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 20 15:24:26 2019 +0100| [1019b092aae8627fbb4ff21a464a920f82e9902d] | committer: Geoffrey Métais

Always show Video and Audio menu entries

> https://code.videolan.org/videolan/vlc-android/commit/1019b092aae8627fbb4ff21a464a920f82e9902d
---

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 47eb30241..fee53c8d3 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -185,8 +185,6 @@ public class MainActivity extends ContentActivity implements ExtensionManagerSer
         if (wasVisible != scan) mActivityHandler.post(new Runnable() {
             @Override
             public void run() {
-                mNavigationView.getMenu().findItem(R.id.nav_audio).setVisible(scan);
-                mNavigationView.getMenu().findItem(R.id.nav_video).setVisible(scan);
                 if (scan) getNavigator().showFragment(R.id.nav_video);
             }
         });



More information about the Android mailing list