Add Riot as a recognized chat application (including pebble color and icon)

here
Andreas Shimokawa 2017-01-03 20:36:39 +01:00
parent e70d6a1260
commit fd51f32765
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
// Conversations
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
// Riot
put("im.vector.alpha", NotificationType.RIOT);
// Signal
put("org.thoughtcrime.securesms", NotificationType.SIGNAL);

View File

@ -13,6 +13,7 @@ public enum NotificationType {
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),
SIGNAL(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.BlueMoon),
TWITTER(PebbleIconID.NOTIFICATION_TWITTER, PebbleColor.BlueMoon),
TELEGRAM(PebbleIconID.NOTIFICATION_TELEGRAM, PebbleColor.PictonBlue),
@ -46,6 +47,7 @@ public enum NotificationType {
return "generic_social";
case CONVERSATIONS:
case FACEBOOK_MESSENGER:
case RIOT:
case SIGNAL:
case TELEGRAM:
case WHATSAPP: