From 272a5e59f20e5466cdbe09c70774133496c8cc92 Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 11 Dec 2018 15:48:59 +0000 Subject: [PATCH] Use download icon instead of play icon for download notification. PiperOrigin-RevId: 225001681 --- .../google/android/exoplayer2/demo/DemoDownloadService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java index 7d1ab16ce4..024ca62579 100644 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java +++ b/demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java @@ -53,7 +53,7 @@ public class DemoDownloadService extends DownloadService { protected Notification getForegroundNotification(TaskState[] taskStates) { return DownloadNotificationUtil.buildProgressNotification( /* context= */ this, - R.drawable.exo_controls_play, + R.drawable.ic_download, CHANNEL_ID, /* contentIntent= */ null, /* message= */ null, @@ -70,7 +70,7 @@ public class DemoDownloadService extends DownloadService { notification = DownloadNotificationUtil.buildDownloadCompletedNotification( /* context= */ this, - R.drawable.exo_controls_play, + R.drawable.ic_download_done, CHANNEL_ID, /* contentIntent= */ null, Util.fromUtf8Bytes(taskState.action.data)); @@ -78,7 +78,7 @@ public class DemoDownloadService extends DownloadService { notification = DownloadNotificationUtil.buildDownloadFailedNotification( /* context= */ this, - R.drawable.exo_controls_play, + R.drawable.ic_download_done, CHANNEL_ID, /* contentIntent= */ null, Util.fromUtf8Bytes(taskState.action.data));