mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Pebble: recognize AOSP calendar and use calendar icon on pebble for reminders
This commit is contained in:
parent
965ba190a6
commit
6dc1d76592
@ -44,6 +44,9 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
|
|||||||
put("com.sonyericsson.conversations", NotificationType.GENERIC_SMS);
|
put("com.sonyericsson.conversations", NotificationType.GENERIC_SMS);
|
||||||
put("org.smssecure.smssecure", NotificationType.GENERIC_SMS);
|
put("org.smssecure.smssecure", NotificationType.GENERIC_SMS);
|
||||||
|
|
||||||
|
// Generic Calendar
|
||||||
|
put("com.android.calendar", NotificationType.GENERIC_CALENDAR);
|
||||||
|
|
||||||
// Conversations
|
// Conversations
|
||||||
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
put("eu.siacs.conversations", NotificationType.CONVERSATIONS);
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ public enum NotificationType {
|
|||||||
GENERIC_EMAIL(PebbleIconID.GENERIC_EMAIL, PebbleColor.JaegerGreen),
|
GENERIC_EMAIL(PebbleIconID.GENERIC_EMAIL, PebbleColor.JaegerGreen),
|
||||||
GENERIC_NAVIGATION(PebbleIconID.LOCATION, PebbleColor.Orange),
|
GENERIC_NAVIGATION(PebbleIconID.LOCATION, PebbleColor.Orange),
|
||||||
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
|
GENERIC_SMS(PebbleIconID.GENERIC_SMS, PebbleColor.VividViolet),
|
||||||
|
GENERIC_CALENDAR(PebbleIconID.TIMELINE_CALENDAR, PebbleColor.Blue),
|
||||||
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
|
FACEBOOK(PebbleIconID.NOTIFICATION_FACEBOOK, PebbleColor.Liberty),
|
||||||
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
|
FACEBOOK_MESSENGER(PebbleIconID.NOTIFICATION_FACEBOOK_MESSENGER, PebbleColor.VeryLightBlue),
|
||||||
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),
|
RIOT(PebbleIconID.NOTIFICATION_HIPCHAT, PebbleColor.LavenderIndigo),
|
||||||
|
Loading…
Reference in New Issue
Block a user