aboutsummaryrefslogtreecommitdiffstats
path: root/src/open/java/de/pixart/messenger
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-10-18 20:59:45 +0200
committerChristian Schneppe <christian@pix-art.de>2016-10-18 20:59:45 +0200
commit22d7bc4ab176d701bffef02321ad56f8dba83499 (patch)
treee3f55ce2dcde79a7340fff7f944bd02aca20ff5f /src/open/java/de/pixart/messenger
parent9c34a356fa59652aa9d1e79b1016b54d903650af (diff)
use build flavor open for unbind app version
Diffstat (limited to 'src/open/java/de/pixart/messenger')
-rw-r--r--src/open/java/de/pixart/messenger/services/PushManagementService.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/open/java/de/pixart/messenger/services/PushManagementService.java b/src/open/java/de/pixart/messenger/services/PushManagementService.java
new file mode 100644
index 000000000..17e49cbbb
--- /dev/null
+++ b/src/open/java/de/pixart/messenger/services/PushManagementService.java
@@ -0,0 +1,24 @@
+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;
+ }
+}