diff options
author | cyBerta <cyberta@riseup.net> | 2022-07-18 18:47:30 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-07-18 18:47:30 +0200 |
commit | 4e688086e0a57858ff4581ed34e652dc677ff4fd (patch) | |
tree | c8c7c90726e7481078aa6372408dbea964492b74 /app/src | |
parent | 512030e22fda6eadb69d4f486241490670d7bab1 (diff) |
fix app update download notification sound bug on pre Android 8 devices
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/DownloadNotificationManager.java | 1 |
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))) |