[Android] Enable network browsing in release builds

Geoffrey Métais git at videolan.org
Thu Jan 28 11:33:36 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 27 18:36:19 2016 +0100| [ca7480947b19b76cf67cf3fcffc23d37aba85450] | committer: Geoffrey Métais

Enable network browsing in release builds

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

 vlc-android/res/menu/navigation.xml                    | 3 +--
 vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 4 ----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/vlc-android/res/menu/navigation.xml b/vlc-android/res/menu/navigation.xml
index 0450760..af50f1e 100644
--- a/vlc-android/res/menu/navigation.xml
+++ b/vlc-android/res/menu/navigation.xml
@@ -23,8 +23,7 @@
     <item
         android:id="@+id/nav_network"
         android:title="@string/network_browsing"
-        android:icon="@drawable/ic_menu_network"
-        android:visible="false" />
+        android:icon="@drawable/ic_menu_network" />
 
     <item
         android:id="@+id/nav_mrl"
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 69f14e6..c464cf4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -236,10 +236,6 @@ public class MainActivity extends AudioPlayerContainerActivity implements Search
             item.setTitle(R.string.open);
         }
 
-        if (BuildConfig.DEBUG) {
-            mNavigationView.getMenu().findItem(R.id.nav_network).setVisible(true);
-        }
-
         mNavigationView.getMenu().findItem(R.id.nav_history).setVisible(mSettings.getBoolean(PreferencesFragment.PLAYBACK_HISTORY, true));
 
 



More information about the Android mailing list