remove album name from notification subtext

This commit is contained in:
dkanada 2021-05-16 12:06:25 +09:00
commit f283886d07

View file

@ -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)