check song.path for nullpointer

This commit is contained in:
Adrian Ulrich 2014-04-12 17:46:32 +02:00
parent 6bbd63a41b
commit ef360c3313

View File

@ -1195,7 +1195,7 @@ public final class PlaybackService extends Service
mMediaPlayer = mPreparedMediaPlayer;
mPreparedMediaPlayer = null;
}
else {
else if(song.path != null) {
prepareMediaPlayer(mMediaPlayer, song.path);
}