Add Google Messenger as well
This commit is contained in:
parent
24c9ef339b
commit
f855dc5d45
|
@ -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);
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue