Added contacts notification group

This commit is contained in:
M66B
2019-03-17 18:06:51 +00:00
parent 7f9b48f9cf
commit 913f85c467
3 changed files with 10 additions and 0 deletions

View File

@@ -1235,6 +1235,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
NotificationChannel channel = new NotificationChannel(
channelName, from.getAddress(),
NotificationManager.IMPORTANCE_HIGH);
channel.setGroup("contacts");
channel.setDescription(from.getPersonal());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
nm.createNotificationChannel(channel);