aboutsummaryrefslogtreecommitdiffstats
path: root/src/free/java/eu/siacs/conversations/services/PushManagementService.java
blob: ffce90b8ae0b5c3bd1a0d2d7f82f694b83f49a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package eu.siacs.conversations.services;

import eu.siacs.conversations.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;
	}
}