Playback is stopped immediately on song change before further
processing, so the user has feedback on their input. Some operations in this method can cause a delay on my phone.
This commit is contained in:
1 parent
b8f3e3819f
commit
3fd61bcafe
1 file changed
+4
@@ -574,6 +574,10 @@ public final class PlaybackService extends Service implements Handler.Callback,
|
||||
if (mMediaPlayer == null)
|
||||
return;
|
||||
|
||||
synchronized (mMediaPlayer) {
|
||||
mMediaPlayer.stop();
|
||||
}
|
||||
|
||||
Song song = mTimeline.shiftCurrentSong(delta);
|
||||
if (song == null) {
|
||||
if (Song.isSongAvailable())
|
||||
|
||||
Reference in new issue
Block a user