update media queue next logic
This commit is contained in:
parent
a079c111b7
commit
f2c3a1f51f
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ public class MultiPlayer implements Playback {
|
|||
@Override
|
||||
public void queueDataSource(Song song) {
|
||||
String path = MusicUtil.getSongFileUri(song);
|
||||
if (mediaSource.getSize() == 2 && mediaSource.getMediaSource(1).getTag() != path) {
|
||||
while (mediaSource.getSize() > 1) {
|
||||
mediaSource.removeMediaSource(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue