blob: f436da434e14d0e90f2ff14233cc1f5a83d0d811 (
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
29
30
31
32
33
|
package eu.siacs.conversations.services;
import eu.siacs.conversations.entities.Account;
import eu.siacs.conversations.entities.Conversation;
public class PushManagementService {
protected final XmppConnectionService mXmppConnectionService;
public PushManagementService(XmppConnectionService service) {
this.mXmppConnectionService = service;
}
void registerPushTokenOnServer(Account account) {
//stub implementation. only affects playstore flavor
}
void unregisterChannel(Account account, String hash) {
//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;
}
}
|