summaryrefslogtreecommitdiff
path: root/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-07-18 18:47:30 +0200
committercyBerta <cyberta@riseup.net>2022-07-18 18:47:30 +0200
commit4e688086e0a57858ff4581ed34e652dc677ff4fd (patch)
treec8c7c90726e7481078aa6372408dbea964492b74 /app/src/fatweb/java/se.leap.bitmaskclient/appUpdate
parent512030e22fda6eadb69d4f486241490670d7bab1 (diff)
fix app update download notification sound bug on pre Android 8 devices
Diffstat (limited to 'app/src/fatweb/java/se.leap.bitmaskclient/appUpdate')
-rw-r--r--app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java1
1 files changed, 1 insertions, 0 deletions
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)))