mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
Merge branch 'development' of github.com:siacs/Conversations into development
This commit is contained in:
commit
e6d336c293
@ -85,7 +85,11 @@ public class NotificationService {
|
|||||||
i.putExtra("messageType", "PEBBLE_ALERT");
|
i.putExtra("messageType", "PEBBLE_ALERT");
|
||||||
i.putExtra("sender", "Conversations"); /* XXX: Shouldn't be hardcoded, e.g., AbstractGenerator.APP_NAME); */
|
i.putExtra("sender", "Conversations"); /* XXX: Shouldn't be hardcoded, e.g., AbstractGenerator.APP_NAME); */
|
||||||
i.putExtra("notificationData", notificationData);
|
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);
|
mXmppConnectionService.sendBroadcast(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user