From b1fca633a682ef4e0944fca738b2424e23bee44d Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Sun, 11 Apr 2021 15:53:23 +0200 Subject: [PATCH] Temporary removal of notification icon --- .../play/service/notification/PlayingNotification.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/cappielloantonio/play/service/notification/PlayingNotification.java b/app/src/main/java/com/cappielloantonio/play/service/notification/PlayingNotification.java index a5342566..bd889d30 100644 --- a/app/src/main/java/com/cappielloantonio/play/service/notification/PlayingNotification.java +++ b/app/src/main/java/com/cappielloantonio/play/service/notification/PlayingNotification.java @@ -64,7 +64,7 @@ public class PlayingNotification { intent.setComponent(serviceName); final PendingIntent deleteIntent = PendingIntent.getService(service, 0, intent, 0); - Bitmap bitmap = BitmapFactory.decodeResource(service.getResources(), R.drawable.default_album_art); + // Bitmap bitmap = BitmapFactory.decodeResource(service.getResources(), R.drawable.default_album_art); NotificationCompat.Action playPauseAction = new NotificationCompat.Action(playButtonResId, service.getString(R.string.action_play_pause), retrievePlaybackAction(ACTION_TOGGLE)); @@ -77,7 +77,7 @@ public class PlayingNotification { NotificationCompat.Builder builder = new NotificationCompat.Builder(service, NOTIFICATION_CHANNEL_ID) .setSmallIcon(R.drawable.ic_notification) .setSubText(song.getAlbumName()) - .setLargeIcon(bitmap) + // .setLargeIcon(bitmap) .setContentIntent(clickIntent) .setDeleteIntent(deleteIntent) .setContentTitle(song.getTitle())