1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00

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

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);
}