mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Remove download notificaiton channel sound
This commit is contained in:
parent
9cd6163e90
commit
91116d3f2e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user