Auto-cancel "blocked call" notifications
This commit is contained in:
parent
dfa3c0f6d5
commit
035edab4ff
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue