[Android] Allow info view for all media items

Geoffrey Métais git at videolan.org
Thu Jun 8 14:12:55 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun  8 11:50:14 2017 +0200| [47121d2c9b1202232c923eb02ca5ec4b8efd2827] | committer: Geoffrey Métais

Allow info view for all media items

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.java b/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.java
index 6e5470451..d135b9075 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/BaseAudioBrowser.java
@@ -69,7 +69,7 @@ public abstract class BaseAudioBrowser extends MediaBrowserFragment implements I
         }
         boolean isSong = count == 1 && getCurrentAdapter().getSelection().get(0).getItemType() == MediaLibraryItem.TYPE_MEDIA;
         menu.findItem(R.id.action_mode_audio_set_song).setVisible(isSong && AndroidDevices.isPhone());
-        menu.findItem(R.id.action_mode_audio_info).setVisible(isSong);
+        menu.findItem(R.id.action_mode_audio_info).setVisible(count == 1);
         menu.findItem(R.id.action_mode_audio_append).setVisible(mService.hasMedia());
         return true;
     }



More information about the Android mailing list