Commit 08fd4f2d authored by Sébastien Toque's avatar Sébastien Toque
Browse files

Fix crash at the end of the last song

parent b76c6858
......@@ -68,8 +68,10 @@ public class AudioPlayerActivity extends Activity implements AudioPlayer {
public void update() {
// Exit the player when there is no media
if (!mAudioController.hasMedia())
if (!mAudioController.hasMedia()) {
if (!mAudioController.getTitle().equals(lastTitle)) {
Bitmap cover = mAudioController.getCover();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment