Pebble: fix alarm notifications only working one

id -1 means undefined, everything else is liked to a real android notification
This commit is contained in:
Andreas Shimokawa 2017-02-09 15:07:00 +01:00
parent 4f0674d038
commit 436a7ddb24
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ public class AlarmClockReceiver extends BroadcastReceiver {
lastId = generateId();
NotificationSpec spec = new NotificationSpec();
spec.type = NotificationType.GENERIC_ALARM_CLOCK;
spec.id = -1;
// can we get the alarm title somehow?
GBApplication.deviceService().onNotification(spec);
}