diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-12 11:39:27 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-12 11:39:27 +0100 |
commit | 32da65f910207f08f50b57ba59af9474eaad75d8 (patch) | |
tree | 9556881940e100fa9587e32d244e980a5e7e1ea6 /src/free/java | |
parent | 93dad9b7379196e2d15e9101c1b75ab43ad3afbb (diff) |
client side support for XEP-0357: Push Notifications
Diffstat (limited to 'src/free/java')
-rw-r--r-- | src/free/java/eu/siacs/conversations/services/PushManagementService.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/free/java/eu/siacs/conversations/services/PushManagementService.java b/src/free/java/eu/siacs/conversations/services/PushManagementService.java new file mode 100644 index 00000000..48c576ce --- /dev/null +++ b/src/free/java/eu/siacs/conversations/services/PushManagementService.java @@ -0,0 +1,20 @@ +package eu.siacs.conversations.services; + +import eu.siacs.conversations.entities.Account; + +public class PushManagementService { + + protected final XmppConnectionService mXmppConnectionService; + + public PushManagementService(XmppConnectionService service) { + this.mXmppConnectionService = service; + } + + public void registerPushTokenOnServer(Account account) { + //stub implementation. only affects playstore flavor + } + + public boolean available() { + return false; + } +} |