diff options
Diffstat (limited to 'src/standard/java/de/pixart/messenger')
-rw-r--r-- | src/standard/java/de/pixart/messenger/services/PushManagementService.java | 28 |
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; + } +} |