Change to green notification light

master
M66B 2 weeks ago
parent c5dbf81b9d
commit cf69851f66

@ -139,7 +139,7 @@ class NotificationHelper {
NotificationManager.IMPORTANCE_HIGH);
notification.setDescription(context.getString(R.string.channel_notification_description));
notification.enableLights(true);
notification.setLightColor(Color.YELLOW);
notification.setLightColor(Color.GREEN);
notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
//notification.setBypassDnd(true);
createNotificationChannel(nm, notification);
@ -1384,7 +1384,7 @@ class NotificationHelper {
}
private static void setLight(NotificationCompat.Builder builder) {
builder.setLights(Color.YELLOW, 500, 500);
builder.setLights(Color.GREEN, 500, 500);
Log.i("Notify light enabled");
}

Loading…
Cancel
Save