Default enable notification channel lights

This commit is contained in:
M66B
2019-06-07 07:58:41 +02:00
parent 3dbbff1fb5
commit 537bf56951
4 changed files with 4 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
NotificationManager.IMPORTANCE_HIGH);
channel.setGroup(name);
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.enableLights(true);
nm.createNotificationChannel(channel);
}
}