From 91116d3f2e66b9ad1660c29d8803f29e54e70c6a Mon Sep 17 00:00:00 2001 From: mhutti1 Date: Sun, 20 May 2018 15:32:05 +0100 Subject: [PATCH] Remove download notificaiton channel sound --- .../java/org/kiwix/kiwixmobile/downloader/DownloadService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java b/app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java index b083156f8..e9f34225b 100644 --- a/app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java +++ b/app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java @@ -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);