mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-08 23:45:38 +02:00
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:
parent
4f0674d038
commit
436a7ddb24
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user