1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Pebble: recognize AOSP calendar and use calendar icon on pebble for reminders

This commit is contained in:
Andreas Shimokawa 2017-04-21 12:39:18 +02:00
parent 965ba190a6
commit 6dc1d76592
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
put("com.sonyericsson.conversations", NotificationType.GENERIC_SMS);
put("org.smssecure.smssecure", NotificationType.GENERIC_SMS);
// Generic Calendar
put("com.android.calendar", NotificationType.GENERIC_CALENDAR);
// Conversations
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);

View File

@ -29,6 +29,7 @@ public enum NotificationType {
GENERIC_EMAIL(PebbleIconID.GENERIC_EMAIL, PebbleColor.JaegerGreen),
GENERIC_NAVIGATION(PebbleIconID.LOCATION, PebbleColor.Orange),
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
GENERIC_CALENDAR(PebbleIconID.TIMELINE_CALENDAR, PebbleColor.Blue),
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),