[Android] Re-enable history in release builds

Geoffrey Métais git at videolan.org
Thu Dec 17 14:34:13 CET 2015


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Dec 17 14:33:48 2015 +0100| [0e6cd6284cdcfa57d6f64120858643a8204412a7] | committer: Geoffrey Métais

Re-enable history in release builds

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

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

diff --git a/vlc-android/res/menu/navigation.xml b/vlc-android/res/menu/navigation.xml
index 5a6cd5e..9b2c637 100644
--- a/vlc-android/res/menu/navigation.xml
+++ b/vlc-android/res/menu/navigation.xml
@@ -33,8 +33,7 @@
     <item
         android:id="@+id/nav_history"
         android:title="@string/history"
-        android:icon="@drawable/ic_menu_history"
-        android:visible="false" />
+        android:icon="@drawable/ic_menu_history" />
     </group>
     <group android:id="@+id/fixed_group"
         android:checkableBehavior="single">
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 6e5beef..e2e2220 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -217,7 +217,6 @@ public class MainActivity extends AudioPlayerContainerActivity implements Search
         }
 
         if (BuildConfig.DEBUG) {
-            mNavigationView.getMenu().findItem(R.id.nav_history).setVisible(true);
             mNavigationView.getMenu().findItem(R.id.nav_network).setVisible(true);
         }
 



More information about the Android mailing list