aboutsummaryrefslogtreecommitdiffstats
path: root/src/standard/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-04 22:14:52 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-04 22:14:52 +0100
commit67d2f08e7470ae1cd933c96e35a091aef048fa79 (patch)
tree7b031a829ec873d313b76f10eb00606692622985 /src/standard/java
parent96113cffafd281ee2c0041edbb40766decc78249 (diff)
rename flavor free to standard
Diffstat (limited to 'src/standard/java')
-rw-r--r--src/standard/java/de/pixart/messenger/services/PushManagementService.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/standard/java/de/pixart/messenger/services/PushManagementService.java b/src/standard/java/de/pixart/messenger/services/PushManagementService.java
new file mode 100644
index 000000000..ca5ba6431
--- /dev/null
+++ b/src/standard/java/de/pixart/messenger/services/PushManagementService.java
@@ -0,0 +1,28 @@
+package de.pixart.messenger.services;
+
+import de.pixart.messenger.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;
+ }
+
+ public boolean availableAndUseful(Account account) {
+ return false;
+ }
+}