aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-09-13 19:18:25 +0200
committerChristian Schneppe <christian@pix-art.de>2018-09-13 19:18:25 +0200
commit09536137d432002752726c669beea717b7d2e6ea (patch)
treee6857d19c3c0dd15e8277eb67e3d80f1ec8548f9 /src/main/java/de
parent4f6f962330ad51ad19dfae27c6a872440ab375b4 (diff)
correct channel for video compression, updater, backup and LED color
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/services/NotificationService.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/de/pixart/messenger/services/NotificationService.java b/src/main/java/de/pixart/messenger/services/NotificationService.java
index d7624c577..fdf48258f 100644
--- a/src/main/java/de/pixart/messenger/services/NotificationService.java
+++ b/src/main/java/de/pixart/messenger/services/NotificationService.java
@@ -158,7 +158,7 @@ public class NotificationService {
.setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION)
.setUsage(AudioAttributes.USAGE_NOTIFICATION_RINGTONE)
.build());
- messagesChannel.setLightColor(0xff00ff00);
+ messagesChannel.setLightColor(0xff0080FF);
final int dat = 70;
final long[] pattern = {0, 3 * dat, dat, dat};
messagesChannel.setVibrationPattern(pattern);
@@ -172,7 +172,7 @@ public class NotificationService {
NotificationManager.IMPORTANCE_LOW);
silentMessagesChannel.setDescription(c.getString(R.string.silent_messages_channel_description));
silentMessagesChannel.setShowBadge(true);
- silentMessagesChannel.setLightColor(0xff00ff00);
+ silentMessagesChannel.setLightColor(0xff0080FF);
silentMessagesChannel.enableLights(true);
silentMessagesChannel.setGroup("chats");
notificationManager.createNotificationChannel(silentMessagesChannel);
@@ -935,7 +935,7 @@ public class NotificationService {
mBuilder.setSmallIcon(R.drawable.ic_hourglass_empty_white_24dp);
mBuilder.setContentIntent(createContentIntent(message.getConversation()));
if (Compatibility.twentySix()) {
- mBuilder.setChannelId(FOREGROUND_CHANNEL_ID);
+ mBuilder.setChannelId(VIDEOCOMPRESSION_CHANNEL_ID);
}
Notification notification = mBuilder.build();
notify(FOREGROUND_NOTIFICATION_ID, notification);
@@ -948,7 +948,7 @@ public class NotificationService {
mBuilder.setProgress(0, 0, true);
mBuilder.setSmallIcon(R.drawable.ic_import_export_white_24dp);
if (Compatibility.twentySix()) {
- mBuilder.setChannelId(FOREGROUND_CHANNEL_ID);
+ mBuilder.setChannelId(BACKUP_CHANNEL_ID);
}
return mBuilder.build();
}
@@ -965,7 +965,7 @@ public class NotificationService {
mBuilder.setSmallIcon(R.drawable.ic_update_notification);
mBuilder.setContentIntent(intent);
if (Compatibility.twentySix()) {
- mBuilder.setChannelId(FOREGROUND_CHANNEL_ID);
+ mBuilder.setChannelId(UPDATE_CHANNEL_ID);
}
return mBuilder.build();
}