From a9c7bbb3b803ceab21afe5d3cdb4166f40cfc37a Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Fri, 28 Dec 2012 18:38:19 -0800 Subject: Closes #81 Don't allow album lists to be mass played/shuffled --- .../src/github/daneren2005/dsub/activity/SelectAlbumActivity.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'subsonic-android/src') diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java index 0cf380dd..de92d244 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java @@ -109,7 +109,12 @@ public class SelectAlbumActivity extends SubsonicTabActivity { public boolean onCreateOptionsMenu(Menu menu) { com.actionbarsherlock.view.MenuInflater inflater = getSupportMenuInflater(); if(hideButtons) { - inflater.inflate(R.menu.select_album, menu); + String albumListType = getIntent().getStringExtra(Constants.INTENT_EXTRA_NAME_ALBUM_LIST_TYPE); + if(albumListType != null) { + inflater.inflate(R.menu.select_album_list, menu); + } else { + inflater.inflate(R.menu.select_album, menu); + } hideButtons = false; } else { if(Util.isOffline(this)) { -- cgit v1.2.3