From 4e688086e0a57858ff4581ed34e652dc677ff4fd Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 18 Jul 2022 18:47:30 +0200 Subject: fix app update download notification sound bug on pre Android 8 devices --- .../se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/fatweb/java') diff --git a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java index 1a88000b..336802c6 100644 --- a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java +++ b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java @@ -84,6 +84,7 @@ public class DownloadNotificationManager { notificationBuilder .setDefaults(Notification.DEFAULT_ALL) .setAutoCancel(false) + .setNotificationSilent() .setOngoing(true) .setSmallIcon(android.R.drawable.stat_sys_download) .setContentTitle(context.getString(R.string.version_update_apk_description, context.getString(R.string.app_name))) -- cgit v1.2.3