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));
|
||||
NotificationCompat.Builder builder = new NotificationCompat.Builder(service, NOTIFICATION_CHANNEL_ID)
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setSubText(song.albumName)
|
||||
.setLargeIcon(bitmap)
|
||||
.setContentIntent(clickIntent)
|
||||
.setDeleteIntent(deleteIntent)
|
||||
.setContentTitle(song.title)
|
||||
.setContentText(song.artistName)
|
||||
.setContentText(song.albumName)
|
||||
.setOngoing(isPlaying)
|
||||
.setShowWhen(false)
|
||||
.addAction(previousAction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue