From 67d2f08e7470ae1cd933c96e35a091aef048fa79 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 4 Mar 2017 22:14:52 +0100 Subject: rename flavor free to standard --- .../messenger/services/PushManagementService.java | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/standard/java/de/pixart/messenger/services/PushManagementService.java (limited to 'src/standard/java/de/pixart') 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; + } +} -- cgit v1.2.3