[Android] Fix dead reference to search option

Geoffrey Métais git at videolan.org
Tue Nov 8 17:51:30 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov  8 16:43:30 2016 +0100| [7ce3e11250b69aec9c2ea9d1bb50e95ae7490272] | committer: Geoffrey Métais

Fix dead reference to search option

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index d5a9d3a..5428adf 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -573,7 +573,7 @@ public class MainActivity extends AudioPlayerContainerActivity implements Device
 
         if (current instanceof NetworkBrowserFragment &&
                 !((NetworkBrowserFragment)current).isRootDirectory()) {
-            MenuItemCompat.setShowAsAction(menu.findItem(R.id.ml_menu_search), MenuItemCompat.SHOW_AS_ACTION_IF_ROOM);
+            MenuItemCompat.setShowAsAction(menu.findItem(R.id.ml_menu_filter), MenuItemCompat.SHOW_AS_ACTION_IF_ROOM);
             item = menu.findItem(R.id.ml_menu_save);
             item.setVisible(true);
             String mrl = ((BaseBrowserFragment)current).mMrl;



More information about the Android mailing list