mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Use download icon instead of play icon for download notification.
PiperOrigin-RevId: 225001681
This commit is contained in:
parent
2f365e5a4b
commit
272a5e59f2
1 changed files with 3 additions and 3 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue