Auto-cancel "blocked call" notifications

This commit is contained in:
xynngh 2020-09-11 16:01:57 +04:00
parent dfa3c0f6d5
commit 035edab4ff
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ public class NotificationHelper {
.setColor(UiUtils.getColorInt(context, R.color.rateNegative)) .setColor(UiUtils.getColorInt(context, R.color.rateNegative))
.setContentTitle(title) .setContentTitle(title)
.setContentText(text) .setContentText(text)
.setAutoCancel(true)
.setPriority(NotificationCompat.PRIORITY_DEFAULT) .setPriority(NotificationCompat.PRIORITY_DEFAULT)
.setCategory(NotificationCompat.CATEGORY_STATUS); .setCategory(NotificationCompat.CATEGORY_STATUS);