Disabled system contextual action

This commit is contained in:
M66B
2019-09-14 17:39:08 +02:00
parent 3c276b889c
commit 2e13aecc88
2 changed files with 6 additions and 3 deletions

View File

@@ -2236,9 +2236,8 @@ class Core {
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
.setCategory(NotificationCompat.CATEGORY_EMAIL)
.setVisibility(NotificationCompat.VISIBILITY_PRIVATE)
.setOnlyAlertOnce(alert_once);
// TODO: setAllowSystemGeneratedContextualActions
.setOnlyAlertOnce(alert_once)
.setAllowSystemGeneratedContextualActions(false);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
mbuilder