Add Google Messenger as well

master
AnthonyDiGirolamo 2017-08-28 10:14:06 -07:00 committed by Andreas Shimokawa
parent 24c9ef339b
commit f855dc5d45
2 changed files with 5 additions and 2 deletions

View File

@ -51,6 +51,7 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
put("com.google.android.gm", NotificationType.GMAIL);
put("com.google.android.apps.inbox", NotificationType.GOOGLE_INBOX);
put("com.google.android.calendar", NotificationType.GENERIC_CALENDAR);
put("com.google.android.apps.messaging", NotificationType.GOOGLE_MESSENGER);
// Conversations
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);

View File

@ -27,11 +27,12 @@ public enum NotificationType {
CONVERSATIONS(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.Inchworm),
GENERIC_EMAIL(PebbleIconID.GENERIC_EMAIL, PebbleColor.JaegerGreen),
GMAIL(PebbleIconID.NOTIFICATION_GMAIL, PebbleColor.Red),
GOOGLE_INBOX(PebbleIconID.NOTIFICATION_GOOGLE_INBOX, PebbleColor.Blue),
GENERIC_NAVIGATION(PebbleIconID.LOCATION, PebbleColor.Orange),
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
GENERIC_CALENDAR(PebbleIconID.TIMELINE_CALENDAR, PebbleColor.Blue),
GMAIL(PebbleIconID.NOTIFICATION_GMAIL, PebbleColor.Red),
GOOGLE_INBOX(PebbleIconID.NOTIFICATION_GOOGLE_INBOX, PebbleColor.Blue),
GOOGLE_MESSENGER(PebbleIconID.NOTIFICATION_GOOGLE_MESSENGER, PebbleColor.Blue),
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),
@ -75,6 +76,7 @@ public enum NotificationType {
case SIGNAL:
case TELEGRAM:
case WHATSAPP:
case GOOGLE_MESSENGER:
return "generic_chat";
case GMAIL:
case GOOGLE_INBOX: