check song.path for nullpointer
This commit is contained in:
parent
6bbd63a41b
commit
ef360c3313
@ -1195,7 +1195,7 @@ public final class PlaybackService extends Service
|
||||
mMediaPlayer = mPreparedMediaPlayer;
|
||||
mPreparedMediaPlayer = null;
|
||||
}
|
||||
else {
|
||||
else if(song.path != null) {
|
||||
prepareMediaPlayer(mMediaPlayer, song.path);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user