Commit f2699460 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

Restore the album name in the notifications for pre-4.1

parent 57c156f4
......@@ -459,7 +459,8 @@ public class AudioService extends Service {
.setSmallIcon(R.drawable.icon)
.setLargeIcon(mCurrentMedia.getPicture())
.setContentTitle(mCurrentMedia.getTitle())
.setContentText(mCurrentMedia.getArtist())
.setContentText((Util.isJellyBeanOrLater() ? mCurrentMedia.getArtist()
: mCurrentMedia.getArtist() + " - " + mCurrentMedia.getAlbum()))
.setContentInfo(mCurrentMedia.getAlbum())
.setAutoCancel(false)
.setOngoing(true);
......
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