aboutsummaryrefslogtreecommitdiffstats
path: root/src/free/java/de/thedevstack/conversationsplus
diff options
context:
space:
mode:
Diffstat (limited to 'src/free/java/de/thedevstack/conversationsplus')
-rw-r--r--src/free/java/de/thedevstack/conversationsplus/services/PushManagementService.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/free/java/de/thedevstack/conversationsplus/services/PushManagementService.java b/src/free/java/de/thedevstack/conversationsplus/services/PushManagementService.java
new file mode 100644
index 00000000..c11b6e98
--- /dev/null
+++ b/src/free/java/de/thedevstack/conversationsplus/services/PushManagementService.java
@@ -0,0 +1,24 @@
+package de.thedevstack.conversationsplus.services;
+
+import de.thedevstack.conversationsplus.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(Account account) {
+ return false;
+ }
+
+ public boolean isStub() {
+ return true;
+ }
+}