aboutsummaryrefslogtreecommitdiffstats
path: root/src/free/java/de/thedevstack
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-03-06 19:42:55 +0100
committerlookshe <github@lookshe.org>2016-03-06 19:42:55 +0100
commit3c400703e082a1b180b35d891b8fb3460c7d5b87 (patch)
tree28738dd90fc41b4ab71897f38d324828778ad2e3 /src/free/java/de/thedevstack
parent72114d732427266024cdd6e27cd8d1aa60afae2f (diff)
parentf28d77dc42f6bac5a026e0b1c78562dee8de45ac (diff)
Merge branch 'trz/rebase' into trz/rename
Diffstat (limited to 'src/free/java/de/thedevstack')
-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;
+ }
+}