Auto cancel op failed notification

pull/217/head
M66B 6 months ago
parent 17d5aa297a
commit 0992bb997f

@ -5746,7 +5746,7 @@ class Core {
.setContentTitle(title) .setContentTitle(title)
.setContentText(Log.formatThrowable(ex, false)) .setContentText(Log.formatThrowable(ex, false))
.setContentIntent(pi) .setContentIntent(pi)
.setAutoCancel(false) .setAutoCancel(message != null)
.setShowWhen(true) .setShowWhen(true)
.setPriority(NotificationCompat.PRIORITY_MAX) .setPriority(NotificationCompat.PRIORITY_MAX)
.setOnlyAlertOnce(true) .setOnlyAlertOnce(true)

Loading…
Cancel
Save