Blue as the sky

This commit is contained in:
M66B
2019-06-26 16:35:46 +02:00
parent 4bd5f7387c
commit 4cc1ed3a85
5 changed files with 13 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ import android.app.NotificationChannel;
import android.app.NotificationChannelGroup;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import androidx.annotation.NonNull;
@@ -122,6 +123,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
channel.setGroup(group.getId());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.enableLights(true);
channel.setLightColor(Color.BLUE);
nm.createNotificationChannel(channel);
}