add Play All ctx menu for artist, album and songs

This is already a default-tap action, so it can be a longpress action too
This commit is contained in:
Adrian Ulrich 2016-06-24 20:54:34 +02:00
parent 75cb4d5579
commit df895dd5fd

View File

@ -623,6 +623,9 @@ public class LibraryActivity
if (FileUtils.canDispatchIntent(rowData))
menu.add(0, CTX_MENU_OPEN_EXTERNAL, 0, R.string.open).setIntent(rowData);
menu.add(0, CTX_MENU_PLAY, 0, R.string.play).setIntent(rowData);
if (type <= MediaUtils.TYPE_SONG) {
menu.add(0, CTX_MENU_PLAY_ALL, 0, R.string.play_all).setIntent(rowData);
}
menu.add(0, CTX_MENU_ENQUEUE_AS_NEXT, 0, R.string.enqueue_as_next).setIntent(rowData);
menu.add(0, CTX_MENU_ENQUEUE, 0, R.string.enqueue).setIntent(rowData);
if (type == MediaUtils.TYPE_PLAYLIST) {