aboutsummaryrefslogtreecommitdiffstats
path: root/src/piratx
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2019-07-01 22:36:28 +0200
committersteckbrief <steckbrief@chefmail.de>2019-07-01 22:36:28 +0200
commit3c15fbcd49eac625000f39ed90d3cd4efd647a2c (patch)
tree239879055e217dc4e0075c0f2a48e2e03eb4b3bd /src/piratx
parent6d24ce7a1869a20c674771b37f8fc8b65db765ed (diff)
introduces new distribution and stage flavors as first steps for rebranding
Diffstat (limited to 'src/piratx')
-rw-r--r--src/piratx/java/de/pixart/messenger/services/PushManagementService.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/piratx/java/de/pixart/messenger/services/PushManagementService.java b/src/piratx/java/de/pixart/messenger/services/PushManagementService.java
new file mode 100644
index 000000000..b76f5b4de
--- /dev/null
+++ b/src/piratx/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;
+ }
+}