remove album name from notification subtext
This commit is contained in:
parent
6ebef01579
commit
f283886d07
1 changed files with 1 additions and 2 deletions
|
|
@ -83,12 +83,11 @@ public class PlayingNotificationNougat extends PlayingNotification {
|
||||||
retrievePlaybackAction(ACTION_SKIP));
|
retrievePlaybackAction(ACTION_SKIP));
|
||||||
NotificationCompat.Builder builder = new NotificationCompat.Builder(service, NOTIFICATION_CHANNEL_ID)
|
NotificationCompat.Builder builder = new NotificationCompat.Builder(service, NOTIFICATION_CHANNEL_ID)
|
||||||
.setSmallIcon(R.drawable.ic_notification)
|
.setSmallIcon(R.drawable.ic_notification)
|
||||||
.setSubText(song.albumName)
|
|
||||||
.setLargeIcon(bitmap)
|
.setLargeIcon(bitmap)
|
||||||
.setContentIntent(clickIntent)
|
.setContentIntent(clickIntent)
|
||||||
.setDeleteIntent(deleteIntent)
|
.setDeleteIntent(deleteIntent)
|
||||||
.setContentTitle(song.title)
|
.setContentTitle(song.title)
|
||||||
.setContentText(song.artistName)
|
.setContentText(song.albumName)
|
||||||
.setOngoing(isPlaying)
|
.setOngoing(isPlaying)
|
||||||
.setShowWhen(false)
|
.setShowWhen(false)
|
||||||
.addAction(previousAction)
|
.addAction(previousAction)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue