aboutsummaryrefslogtreecommitdiffstats
path: root/src/free/java/eu
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-02-12 11:39:27 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-02-12 11:39:27 +0100
commit32da65f910207f08f50b57ba59af9474eaad75d8 (patch)
tree9556881940e100fa9587e32d244e980a5e7e1ea6 /src/free/java/eu
parent93dad9b7379196e2d15e9101c1b75ab43ad3afbb (diff)
client side support for XEP-0357: Push Notifications
Diffstat (limited to '')
-rw-r--r--src/free/java/eu/siacs/conversations/services/PushManagementService.java20
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;
+ }
+}