-Updated ExoPlayer to r2.5.1.
-Fixes some more deprecations due to Exoplayer and Android O notification updates.
This commit is contained in:
parent
85108be686
commit
2b2e954b84
7 changed files with 32 additions and 14 deletions
|
|
@ -98,7 +98,7 @@ public class DownloadManagerService extends Service {
|
|||
|
||||
Drawable icon = ContextCompat.getDrawable(this, R.mipmap.ic_launcher);
|
||||
|
||||
Builder builder = new Builder(this)
|
||||
Builder builder = new Builder(this, getString(R.string.notification_channel_id))
|
||||
.setContentIntent(pendingIntent)
|
||||
.setSmallIcon(android.R.drawable.stat_sys_download)
|
||||
.setLargeIcon(((BitmapDrawable) icon).getBitmap())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue