Remove download notificaiton channel sound

This commit is contained in:
mhutti1 2018-05-20 15:32:05 +01:00 committed by Abdul Wadood
parent 9cd6163e90
commit 91116d3f2e

View File

@ -627,6 +627,7 @@ public class DownloadService extends Service {
NotificationChannel ongoingDownloadsChannel = new NotificationChannel(
Constants.ONGOING_DOWNLOAD_CHANNEL_ID, name, importance);
ongoingDownloadsChannel.setDescription(description);
ongoingDownloadsChannel.setSound(null, null);
NotificationManager notificationManager = (NotificationManager) getSystemService(
NOTIFICATION_SERVICE);
notificationManager.createNotificationChannel(ongoingDownloadsChannel);