[Android] Remove equalizer from option menus

Geoffrey Métais git at videolan.org
Tue Jan 15 10:15:39 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 15 10:13:20 2019 +0100| [0d0a38f0075c4930a2f8ba9bb474eec5b787155c] | committer: Geoffrey Métais

Remove equalizer from option menus

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

 vlc-android/res/menu/activity_option.xml                             | 5 -----
 vlc-android/src/org/videolan/vlc/gui/ContentActivity.java            | 4 ----
 .../src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt       | 1 -
 3 files changed, 10 deletions(-)

diff --git a/vlc-android/res/menu/activity_option.xml b/vlc-android/res/menu/activity_option.xml
index 100c93412..8c74224cf 100644
--- a/vlc-android/res/menu/activity_option.xml
+++ b/vlc-android/res/menu/activity_option.xml
@@ -77,11 +77,6 @@
         android:id="@+id/ml_menu_refresh"
         android:icon="@drawable/ic_menu_refresh"
         android:title="@string/refresh"/>
-    <item
-        android:orderInCategory="3"
-        android:id="@+id/ml_menu_equalizer"
-        android:icon="@drawable/ic_menu_equalizer"
-        android:title="@string/equalizer" />
     <item
         android:orderInCategory="3"
         android:id="@+id/ml_menu_custom_dir"
diff --git a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
index 5a99aafc9..969868180 100644
--- a/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/ContentActivity.java
@@ -37,7 +37,6 @@ import org.videolan.vlc.PlaybackService;
 import org.videolan.vlc.R;
 import org.videolan.vlc.RendererDelegate;
 import org.videolan.vlc.gui.audio.AudioBrowserFragment;
-import org.videolan.vlc.gui.audio.EqualizerFragment;
 import org.videolan.vlc.gui.browser.ExtensionBrowser;
 import org.videolan.vlc.gui.browser.MediaBrowserFragment;
 import org.videolan.vlc.gui.dialogs.RenderersDialog;
@@ -133,9 +132,6 @@ public class ContentActivity extends AudioPlayerContainerActivity implements Sea
 
         // Handle item selection
         switch (item.getItemId()) {
-            case R.id.ml_menu_equalizer:
-                new EqualizerFragment().show(getSupportFragmentManager(), "equalizer");
-                return true;
             case R.id.ml_menu_search:
                 startActivity(new Intent(Intent.ACTION_SEARCH, null, this, SearchActivity.class));
                 return true;
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt b/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
index 629b460e0..c2fa6d033 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserFragment.kt
@@ -117,7 +117,6 @@ class StorageBrowserFragment : FileBrowserFragment(), EntryPointsEventsCb {
     override fun onPrepareOptionsMenu(menu: Menu?) {
         super.onPrepareOptionsMenu(menu)
         menu?.findItem(R.id.ml_menu_custom_dir)?.isVisible = true
-        menu?.findItem(R.id.ml_menu_equalizer)?.isVisible = false
         menu?.findItem(R.id.ml_menu_refresh)?.isVisible = false
     }
 



More information about the Android mailing list