diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-05-10 11:45:01 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-05-10 11:45:01 +0200 |
commit | e6d336c293415f7906e9855c9108986f89eb2d5e (patch) | |
tree | 191092c8c1e0030e8c87b8d6a41e29b52c788924 /src | |
parent | 1e28f600386f1f1dcd734363c932d5ccbd6267fb (diff) | |
parent | c82cdb36f6358942f987b7acccc3e4b5adf7dd87 (diff) |
Merge branch 'development' of github.com:siacs/Conversations into development
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/NotificationService.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index fc40ce75..e111da95 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -85,7 +85,11 @@ public class NotificationService { i.putExtra("messageType", "PEBBLE_ALERT"); i.putExtra("sender", "Conversations"); /* XXX: Shouldn't be hardcoded, e.g., AbstractGenerator.APP_NAME); */ i.putExtra("notificationData", notificationData); - + // notify Pebble App + i.setPackage("com.getpebble.android"); + mXmppConnectionService.sendBroadcast(i); + // notify Gadgetbridge + i.setPackage("nodomain.freeyourgadget.gadgetbridge"); mXmppConnectionService.sendBroadcast(i); } |