get rid of dead ACTION_PLAY_OR_ENQUEUE
This commit is contained in:
parent
5d89a5604f
commit
7d21710015
@ -104,10 +104,6 @@ public class LibraryActivity
|
|||||||
* Action for row click: expand the row.
|
* Action for row click: expand the row.
|
||||||
*/
|
*/
|
||||||
public static final int ACTION_EXPAND = 6;
|
public static final int ACTION_EXPAND = 6;
|
||||||
/**
|
|
||||||
* Action for row click: play if paused or enqueue if playing.
|
|
||||||
*/
|
|
||||||
public static final int ACTION_PLAY_OR_ENQUEUE = 7;
|
|
||||||
/**
|
/**
|
||||||
* The SongTimeline add song modes corresponding to each relevant action.
|
* The SongTimeline add song modes corresponding to each relevant action.
|
||||||
*/
|
*/
|
||||||
@ -471,8 +467,6 @@ public class LibraryActivity
|
|||||||
// default to playing when trying to expand something that can't
|
// default to playing when trying to expand something that can't
|
||||||
// be expanded
|
// be expanded
|
||||||
action = ACTION_PLAY;
|
action = ACTION_PLAY;
|
||||||
} else if (action == ACTION_PLAY_OR_ENQUEUE) {
|
|
||||||
action = (mState & PlaybackService.FLAG_PLAYING) == 0 ? ACTION_PLAY : ACTION_ENQUEUE;
|
|
||||||
}
|
}
|
||||||
pickSongs(rowData, action);
|
pickSongs(rowData, action);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user