1package eu.siacs.conversations.services;
2
3import eu.siacs.conversations.entities.Account;
4import eu.siacs.conversations.entities.Conversation;
5
6public class PushManagementService {
7
8 protected final XmppConnectionService mXmppConnectionService;
9
10 public PushManagementService(XmppConnectionService service) {
11 this.mXmppConnectionService = service;
12 }
13
14 void registerPushTokenOnServer(Account account) {
15 //stub implementation. only affects playstore flavor
16 }
17
18 void unregisterChannel(Account account, String hash) {
19 //stub implementation. only affects playstore flavor
20 }
21
22 public boolean available(Account account) {
23 return false;
24 }
25
26 public boolean isStub() {
27 return true;
28 }
29
30 public boolean availableAndUseful(Account account) {
31 return false;
32 }
33}