restart the song in a nicer way
This commit is contained in:
parent
60a013009e
commit
745dc3cb94
1 changed files with 1 additions and 2 deletions
|
@ -179,8 +179,7 @@ public class MusicService extends Service
|
|||
}
|
||||
|
||||
private void restartSong() {
|
||||
stopSong();
|
||||
resumeSong();
|
||||
player.seekTo(0);
|
||||
}
|
||||
|
||||
public void setSong(int songId, boolean addNewSong) {
|
||||
|
|
Loading…
Reference in a new issue