Commit 2c10acdd authored by Ludovic Fauvet's avatar Ludovic Fauvet

Show the current cover in the notification area

parent 71ac8df3
......@@ -457,7 +457,7 @@ public class AudioService extends Service {
// add notification to status bar
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.icon)
.setLargeIcon(mCurrentMedia.getPicture())
.setLargeIcon(AudioUtil.getCover(this, mCurrentMedia, 64))
.setContentTitle(mCurrentMedia.getTitle())
.setContentText((Util.isJellyBeanOrLater() ? mCurrentMedia.getArtist()
: mCurrentMedia.getArtist() + " - " + mCurrentMedia.getAlbum()))
......
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