From 5521a7a4e1f81c09250c8333176290d52b491138 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Fri, 30 Aug 2019 10:42:23 +0200 Subject: [PATCH] Updated streaming confirmation icon --- .../antennapod/core/service/playback/PlaybackService.java | 6 +++--- core/src/main/res/drawable/ic_stream_white.xml | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 core/src/main/res/drawable/ic_stream_white.xml diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 4ba33919a..f7a13d81e 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -529,17 +529,17 @@ public class PlaybackService extends MediaBrowserServiceCompat { } NotificationCompat.Builder builder = new NotificationCompat.Builder(this, NotificationUtils.CHANNEL_ID_USER_ACTION) - .setSmallIcon(R.drawable.stat_notify_sync_error) + .setSmallIcon(R.drawable.ic_stream_white) .setContentTitle(getString(R.string.confirm_mobile_streaming_notification_title)) .setContentText(getString(R.string.confirm_mobile_streaming_notification_message)) .setStyle(new NotificationCompat.BigTextStyle() .bigText(getString(R.string.confirm_mobile_streaming_notification_message))) .setPriority(NotificationCompat.PRIORITY_DEFAULT) .setContentIntent(pendingIntentAllowThisTime) - .addAction(R.drawable.stat_notify_sync_error, + .addAction(R.drawable.ic_stream_white, getString(R.string.stream_label), pendingIntentAllowThisTime) - .addAction(R.drawable.stat_notify_sync_error, + .addAction(R.drawable.ic_stream_white, getString(R.string.confirm_mobile_streaming_button_always), pendingIntentAlwaysAllow) .setAutoCancel(true); diff --git a/core/src/main/res/drawable/ic_stream_white.xml b/core/src/main/res/drawable/ic_stream_white.xml new file mode 100644 index 000000000..3c59bbad7 --- /dev/null +++ b/core/src/main/res/drawable/ic_stream_white.xml @@ -0,0 +1,5 @@ + + +