Added clear playing queue menu item to now playing screen.
This commit is contained in:
parent
d7f57bb1f1
commit
1816c264a9
5 changed files with 26 additions and 3 deletions
|
|
@ -63,8 +63,9 @@ public abstract class AbsPlayerFragment extends AbsMusicServiceFragment implemen
|
|||
case R.id.action_add_to_playlist:
|
||||
AddToPlaylistDialog.create(song).show(getFragmentManager(), "ADD_PLAYLIST");
|
||||
return true;
|
||||
// case R.id.action_playing_queue:
|
||||
// return true;
|
||||
case R.id.action_clear_playing_queue:
|
||||
MusicPlayerRemote.clearQueue();
|
||||
return true;
|
||||
case R.id.action_tag_editor:
|
||||
Intent intent = new Intent(getActivity(), SongTagEditorActivity.class);
|
||||
intent.putExtra(AbsTagEditorActivity.EXTRA_ID, song.id);
|
||||
|
|
@ -83,7 +84,7 @@ public abstract class AbsPlayerFragment extends AbsMusicServiceFragment implemen
|
|||
return false;
|
||||
}
|
||||
|
||||
protected void toggleFavorite(Song song){
|
||||
protected void toggleFavorite(Song song) {
|
||||
MusicUtil.toggleFavorite(getActivity(), song);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue