Merge pull request #2109 from open-keychain/low-prio-notification

set cache notification to low priority
This commit is contained in:
Dominik Schürmann
2017-05-17 12:51:19 +03:00
committed by GitHub

View File

@@ -503,7 +503,8 @@ public class PassphraseCacheService extends Service {
.setColor(getResources().getColor(R.color.primary)) .setColor(getResources().getColor(R.color.primary))
.setContentTitle(getResources().getQuantityString(R.plurals.passp_cache_notif_n_keys, .setContentTitle(getResources().getQuantityString(R.plurals.passp_cache_notif_n_keys,
mPassphraseCache.size(), mPassphraseCache.size())) mPassphraseCache.size(), mPassphraseCache.size()))
.setContentText(getString(R.string.passp_cache_notif_touch_to_clear)); .setContentText(getString(R.string.passp_cache_notif_touch_to_clear))
.setPriority(NotificationCompat.PRIORITY_MIN);
NotificationCompat.InboxStyle inboxStyle = new NotificationCompat.InboxStyle(); NotificationCompat.InboxStyle inboxStyle = new NotificationCompat.InboxStyle();