mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-11 16:37:18 -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(
|
NotificationChannel ongoingDownloadsChannel = new NotificationChannel(
|
||||||
Constants.ONGOING_DOWNLOAD_CHANNEL_ID, name, importance);
|
Constants.ONGOING_DOWNLOAD_CHANNEL_ID, name, importance);
|
||||||
ongoingDownloadsChannel.setDescription(description);
|
ongoingDownloadsChannel.setDescription(description);
|
||||||
|
ongoingDownloadsChannel.setSound(null, null);
|
||||||
NotificationManager notificationManager = (NotificationManager) getSystemService(
|
NotificationManager notificationManager = (NotificationManager) getSystemService(
|
||||||
NOTIFICATION_SERVICE);
|
NOTIFICATION_SERVICE);
|
||||||
notificationManager.createNotificationChannel(ongoingDownloadsChannel);
|
notificationManager.createNotificationChannel(ongoingDownloadsChannel);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user