From f283886d070e6cf138fdba4f1faebc85c6cfc0e0 Mon Sep 17 00:00:00 2001 From: dkanada Date: Sun, 16 May 2021 12:06:25 +0900 Subject: [PATCH] remove album name from notification subtext --- .../service/notifications/PlayingNotificationNougat.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/dkanada/gramophone/service/notifications/PlayingNotificationNougat.java b/app/src/main/java/com/dkanada/gramophone/service/notifications/PlayingNotificationNougat.java index 33533ebf..0a0d1980 100644 --- a/app/src/main/java/com/dkanada/gramophone/service/notifications/PlayingNotificationNougat.java +++ b/app/src/main/java/com/dkanada/gramophone/service/notifications/PlayingNotificationNougat.java @@ -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)