Set the notification ID on alarm start

This commit is contained in:
cpfeiffer 2017-02-10 22:52:55 +01:00
parent 89bf63d540
commit 0042ffc514
1 changed files with 1 additions and 1 deletions

View File

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