set cache notification to low priority

This commit is contained in:
Vincent Breitmoser 2017-05-17 01:15:24 +02:00
parent c6bec99fe3
commit f72b877849

View file

@ -503,7 +503,8 @@ public class PassphraseCacheService extends Service {
.setColor(getResources().getColor(R.color.primary))
.setContentTitle(getResources().getQuantityString(R.plurals.passp_cache_notif_n_keys,
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();