Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
272a5e59
authored
Dec 11, 2018
by
tonihei
Committed by
Oliver Woodman
Dec 14, 2018
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Use download icon instead of play icon for download notification.
PiperOrigin-RevId: 225001681
parent
2f365e5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java
demos/main/src/main/java/com/google/android/exoplayer2/demo/DemoDownloadService.java
View file @
272a5e59
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment